How to load value of a memory address in a register in ASM on the LC3?

元气小坏坏 提交于 2019-12-24 15:10:13

问题


Suppose there's a value stored in memory location x4000 and I want to load it to a Register. If the program has to be started at x3000 how can I do this, since PC+Offset loads would be out of range?

来源:https://stackoverflow.com/questions/29898909/how-to-load-value-of-a-memory-address-in-a-register-in-asm-on-the-lc3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!