haskus-system-0.7.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.Arch.X86_64.ISA.Registers

Description

x86 registers

Synopsis

Documentation

regSupportRex :: Register -> Bool Source #

Indicate if the register can be encoded with a REX prefix

getRegisterFile :: X86Mode -> RegisterFile Source #

Return X86 register file for the selected mode

regFromCode :: RegFamily -> Maybe Size -> Bool -> Word8 -> Register Source #

Get register from its encoding

regToCode :: Register -> Word8 Source #

Get register code