2 # List of registers and their classes; classes are defined in nasm.h
6 # register name, assembler class, disassembler class(es), x86 register number
8 # If the register name ends in two numbers separated by a dash, then it is
9 # repeated as many times as indicated, and the register number is
13 # General-purpose registers
14 al REG_AL reg8
,reg8_rex
0
19 bl REG8NA reg8
,reg8_rex
3
24 cl REG_CL reg8
,reg8_rex
1
29 dl REG_DL reg8
,reg8_rex
2
50 r8
-15b REG8NA reg8_rex
8
51 r8
-15w REG16NA reg16
8
52 r8
-15d REG32NA reg32
8
62 segr6
-7 REG_SEG67 sreg
6
65 cr0
-15 REG_CREG creg
0
68 dr0
-15 REG_DREG dreg
0
73 # Floating-point registers
82 xmm1
-15 XMMREG xmmreg
1