assembly - 68k寄存器地址

标签 assembly machine-code instruction-set 68000

这个问题是在乞求一堆“你为什么要这样做?”回应。

我在 68k Programmer's Reference Manual 中找不到此信息,但这可能是因为我不确定要搜索什么措辞。

这是 68k 的 ADD 操作码的指令格式。

enter image description here

位 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/

相关文章:

assembly - 实际的机器代码在各个方面是什么样子的?

assembly - Intel x64 arch 的 Rex 前缀解码

assembly - 如何在普通 DLL 中找到 "strange"ROP gadget?编译器永远不会这样做。 (面向返回的编程)

linux - 同一个 ELF 文件中的多个 ISA

编译器使用局部变量而不调整 RSP

c - 如何使用在堆上实现的堆栈将程序集转换为 C?

c++ - 将 .asm 文件编译并链接到 C++ 代码

linux - nasm 文件缓冲区的第二个和第三个元素始终为 0

c - ARM指令译码

iphone - 如何找到操作的时间值(value)来优化新的算法设计?