Documentation ¶
Index ¶
- Variables
- func NewAccessError(addr uint16, resource string) error
- func NewIllegalInstructionError(opcode byte) error
- func NewInvalidGetOperandError(operand any) error
- func NewInvalidMnemonicError(mnemonic string) error
- func NewInvalidOperandError(operand any) error
- func NewInvalidSetOperandError(operand any) error
- func NewInvalidSymbolError(symbol any) error
- func NewNotImplementedError() error
- func NewOperandSymbolError(got, want any) error
- func NewReadError(addr uint16, resource string) error
- func NewUnknownOPCodeError(opcode byte) error
- func NewWriteError(addr uint16, resource string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorInvalidAddress = errors.New("invalid address access") ErrorInvalidMnemonic = errors.New("invalid mnemonic") ErrorInvalidOperand = errors.New("invalid operand") ErrorInvalidSymbol = errors.New("invalid symbol") ErrorInvalidInstruction = errors.New("invalid instruction") ErrorIllegalInstruction = errors.New("illegal instruction") ErrorNotImplemented = errors.New("not implemented") )
Functions ¶
func NewAccessError ¶
func NewInvalidMnemonicError ¶
func NewInvalidOperandError ¶
func NewInvalidSymbolError ¶
func NewNotImplementedError ¶
func NewNotImplementedError() error
func NewOperandSymbolError ¶
func NewReadError ¶
func NewUnknownOPCodeError ¶
func NewWriteError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.