shithub: mc

ref: 75e55c54a0e4f7322f5ab83a22c5b1025069e92e
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)

/* high byte regs. We *NEVER* allocate these */
Reg(Rah, "%ah", ModeB)
Reg(Rch, "%ch", ModeB)
Reg(Rdh, "%dh", ModeB)
Reg(Rbh, "%bh", 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)