Arsenal591/X86Assembler

opcode表格的存储方式

Opened this issue · 0 comments

表格映射:
mnemonic(DWORD):指令助记符字符串的起始地址
addr(DWORD):表格的起始地址

表格
length(DWORD):表格行数
addr(DWORD):第一个表项的起始位置

表项
opcode(BYTE): Opcode
target_type(BYTE):#issue 2 type
source_type(BYTE)
encoded(BYTE): +rb/+rw/+rd位(0或1,表示是否需要偏移)
digit(BYTE): A digit between 0 and 7 indicates that the ModR/M byte of the instruction uses only the r/m (register or memory) operand. The reg field contains the digit that provides an extension to the instruction's opcode.