Explain addressing modes in detail with example of each.
1
Expert's answer
2021-11-09T10:44:43-0500
Register mode: the operand is put into one of the general purpose registers according to the instruction. Example: MOV B,A | move the content of register A to register B
Direct addressing mode: the instruction contains the offset of an operand in the form of an 8 or 16-bit offset elements. Example: ADD A,[0301] | the content of offset at 0301 is added to A
Comments
Leave a comment