这个问题是在乞求一堆“你为什么要这样做?”回应。
我在 68k Programmer's Reference Manual 中找不到此信息,但这可能是因为我不确定要搜索什么措辞。
这是 68k 的 ADD
操作码的指令格式。
位 0-2 和 9-11 指定寄存器。 68k 寄存器的二进制表示是什么?它们是“地址”吗?
是的,我知道我可以编写一个 68k 汇编程序并对其进行调试以找到此信息。我正在寻找引用。谢谢!
最佳答案
参见第 2 节。 2.1、《指令格式》:
An instruction specifies the function to be performed with an operation code and defines the location of every operand. Instructions specify an operand location by register specification, the instruction’s register field holds the register’s number; by effective address, the instruction’s effective address field contains addressing mode information; or by implicit reference, the definition of the instruction implies the use of specific registers. (emphasis added)
关于assembly - 68k寄存器地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6299334/