WRITE THIS IN THE WRITING SIDE OF THE JOURNAL
ADDRESS | OPCODE | LABEL | MNEMONICS | COMMENT |
---|---|---|---|---|
4000 | 06 0F | MVI B,10 | ;set counter to B | |
4002 | 21 5F 40 | LXI H,4059H | ;set memory pointer HL | |
4005 | 11 60 40 | LXI D,4060H | ;set second memory pointer DE | |
4008 | 7E | CONT: | MOV A,M | ;move data from mem. To Acc. |
4009 | 12 | STAX D | ;store it at memory add. of DE | |
400A | 13 | INX D | ;increment DE address | |
400B | 2B | DCX H | ;decrement HL address | |
400C | 05 | DCR B | ;decrement counter B | |
400D | C2 08 40 | JNZ CONT | ;jump if not finished to CONT | |
4010 | 76 | hlt | ;;Entering 8085 in the HALT state |
Stick this printout on the left side (i.e in the blank side)



) Sign Flag is reset: Result is positive
) Zero flag is set: result is set to zero after the execution of arithmetic or logical operation
) auxiliary carry flag is set: there is a carry from bit D3 to D4
) parity flag is set: result stored in accumulator contain even number of 1’s
) carry flag is result: no carry or borrow bit during the execution of arithmetic operation