Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我明白MOV,STA和LDA指令的意思,但我不明白为什么两个不同的进程有三个不同的指令?
MOV
STA
LDA
所以,我能做什么STA,LDA指令也可以用MOV指令来完成,对吧?
指令LDA和STA在内存和A. 该指令MOV要么在寄存器之间移动数据,要么在寄存器和指定的内存位置之间移动数据HL。
A
HL
LDA并且STA在可以在汇编/链接时解析地址时使用。
MOV在运行时计算内存地址时使用,并放置在HL. 例如,当您遍历数组时。
您已经发现了直接和间接内存寻址。