Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BusState ¶
type BusState struct {
Address uint16 `yaml:"address"`
Data uint8 `yaml:"data"`
Mode string `yaml:"mode"`
}
func (BusState) IsMemoryRequest ¶
type Opcode ¶
type Opcode struct {
Code string `yaml:"opcode"`
Mnemonic string `yaml:"mnemonic"`
Bytes int `yaml:"bytes"`
Cycles []int `yaml:"cycles,flow"`
Immediate bool `yaml:"immediate"`
Operands []OpcodeOperand `yaml:"operands,omitempty"`
Flags OpcodeFlags `yaml:"flags,flow"`
}
type OpcodeFlags ¶
type OpcodeOperand ¶
type OpcodeOperand struct {
Name string `json:"name"`
Bytes int `json:"bytes"`
Immediate bool `json:"immediate"`
}
func (OpcodeOperand) String ¶
func (o OpcodeOperand) String() string
type Opcodes ¶
type Opcodes struct {
Unprefixed [256]Opcode `yaml:"unprefixed"`
Prefixed [256]Opcode `yaml:"prefixed"`
}
var OpcodeData Opcodes
Click to show internal directories.
Click to hide internal directories.