Documentation ¶
Index ¶
- Constants
- type Registers
- func (r *Registers) GetA() uint8
- func (r *Registers) GetAF() uint16
- func (r *Registers) GetB() uint8
- func (r *Registers) GetBC() uint16
- func (r *Registers) GetC() uint8
- func (r *Registers) GetD() uint8
- func (r *Registers) GetDE() uint16
- func (r *Registers) GetE() uint8
- func (r *Registers) GetF() uint8
- func (r *Registers) GetFlag(mask uint8) bool
- func (r *Registers) GetH() uint8
- func (r *Registers) GetHL() uint16
- func (r *Registers) GetL() uint8
- func (r *Registers) GetPC() uint16
- func (r *Registers) GetSP() uint16
- func (r *Registers) SetA(v uint8)
- func (r *Registers) SetAF(v uint16)
- func (r *Registers) SetB(v uint8)
- func (r *Registers) SetBC(v uint16)
- func (r *Registers) SetC(v uint8)
- func (r *Registers) SetD(v uint8)
- func (r *Registers) SetDE(v uint16)
- func (r *Registers) SetE(v uint8)
- func (r *Registers) SetF(v uint8)
- func (r *Registers) SetFlag(mask uint8, set bool)
- func (r *Registers) SetH(v uint8)
- func (r *Registers) SetHL(v uint16)
- func (r *Registers) SetL(v uint8)
- func (r *Registers) SetPC(v uint16)
- func (r *Registers) SetSP(v uint16)
Constants ¶
View Source
const ( FlagZERO uint8 = 1 << 7 FlagSUB uint8 = 1 << 6 FlagHCARRY uint8 = 1 << 5 FlagCARRY uint8 = 1 << 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.