Opcode Operand Description MOV Rd,Rs Rd,M M, Rs Copy from source to destination. — This instruction copies the contents of the source register into the destination register. — The contents of the source register are not altered. — If one of the operands is a memory location, its location is specified by the contents of the HL registers. — Example: MOV B, C — MOV B, M — MOV M, C
Opcode Operand Description Jx 16-bit address Jump conditionally — The program sequence is transferred to the memory location specified by the 16 -bit address given in the operand based on the specified flag of the PSW. — Example: JZ 20 3 4 H. Opcode Description Status Flags JC Jump if Carry CY = 1 JNC Jump if No Carry CY = 0 JP Jump if Positive S = 0 JM Jump if Minus S = 1 JZ Jump if Zero Z = 1 JNZ Jump if No Zero Z = 0 JPE Jump if Parity Even P = 1 JPO Jump if Parity Odd P = 0
Comments
Post a Comment