Suppose that you are writing assembler for a machine that has only program counter relative addressing. (that is, there are no direct addressing instruction formats and no base relative addressing)suppose that you wish to assemble an instruction whose operand is an absolute address in memory-for example, LDA 100 to load register a from address (hexadecimal) 100 in memory. how might such an instruction be assembled in a relocatable program? what relocation operations would be required?
Answers
Answered by
0
Answer:
index
htm
relative addressing. (that is, there are no direct addressing instruction formats and no base relative addressing)suppose that you wish to assemble an instruction whose operand is an absolute address in memory-for example, LDA 100 to load register a from address (hexadecimal) 100 in memory. how might such an instruction be assembled in a relocatable program? what relocation operations would be required?
Similar questions