Documentation ¶
Overview ¶
Package opcode provides/defines Z80's instruction set and its operation codes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllOPCodes = [][]*OPCode{
load8,
load16,
exbtsg,
arith8,
ctrl,
arith16,
rotateshift,
bitop,
jump,
callret,
inout,
undoc,
}
AllOPCodes includes all operations of Z80.
Functions ¶
func DumpDecodeLayer ¶
DumpDecodeLayer dumps default decode layer to io.Writer for debugging
func WriteSwitchDecoder ¶
WriteSwitchDecoder writes codes for decoder "switch" statements.
Types ¶
type Code ¶
Code is definition of an operation code. (mask). 0 bits in M are for constant bits, 1 bits are variable bits for operation code.
Click to show internal directories.
Click to hide internal directories.