General-Purpose Registers
8bit : AH,AL, BH,BL, CH,CL, DH,DL
16bit : AX, BX, CX, DX, BP, SI, DI, SP,[ IP ]
32bit : EAX,EBX,ECX,EDX,EBP,ESI,EDI,ESP,[ EIP ]
64bit : RAX,RBX,ECX,RDX,RBP,RSI,RDI,RSP,[ RIP ]
AX : Accumulator
BX : Base
CX : Count
DX : Data
SI/DI : Index
SP : Stack Pointer
Segment Register
cs : Code
DS : Data
SS : Stack
ES : Extra
FS :
GS :
Addressing
AT&T Format
movl %eax,%edx register
movl $0x12345678,%edx immediate
movl 0x12345678,%edx direct
movl (%ebx),%edx indirect
movl 4(%ebx),%edx displaced
8bit : movb,pushb,popb byte
16bit : movw,pushw,popw work
32bit : movl,pushl,popl long
64bit : movq,pushq,popq