Assembly language programming

 Implement the Boolean Equation D=(B+C).E, where B, C, D and E represents data in   various register of 8085.


1. MVI B E9; move immediate data E9H to Register B 
2. MVI C 27; move immediate data 27H to Register C 
3. MVI E 1F; move immediate data 1FH to Register E 
4. MOV A B; move data from register D to accumulator 
5. ORA C; logical OR operation with accumulator 
6. ANA E; logical AND operation with accumulator 
7. MOV D A; move data from accumulator to register D 
8. HLT; halt program

Post a Comment

0 Comments