shithub: mc

ref: a9512a951e1cf0c28a90c5c39cbbb5a3a8e68629
dir: /8/regs.def/

View raw version
Reg(Rnone, "%NOREG", ModeB)
/* byte regs */
Reg(Ral, "%al", ModeB)
Reg(Rcl, "%cl", ModeB)
Reg(Rdl, "%dl", ModeB)
Reg(Rbl, "%bl", ModeB)

/* short regs */
Reg(Rax, "%ax", ModeS)
Reg(Rbx, "%bx", ModeS)
Reg(Rcx, "%cx", ModeS)
Reg(Rdx, "%dx", ModeS)
Reg(Rsi, "%si", ModeS)
Reg(Rdi, "%di", ModeS)

/* long regs */
Reg(Reax, "%eax", ModeL)
Reg(Recx, "%ecx", ModeL)
Reg(Redx, "%edx", ModeL)
Reg(Rebx, "%ebx", ModeL)
Reg(Resi, "%esi", ModeL)
Reg(Redi, "%edi", ModeL)
Reg(Resp, "%esp", ModeL)
Reg(Rebp, "%ebp", ModeL)