26 lines
447 B
Go
26 lines
447 B
Go
package instructionSIC
|
|
|
|
type InstructionSIC struct {
|
|
opcode uint8
|
|
n bool
|
|
i bool
|
|
x bool
|
|
b bool
|
|
p bool
|
|
e bool
|
|
offset uint16
|
|
}
|
|
|
|
func newInstructionSIC(opcode uint8, n bool, i bool, x bool, b bool, p bool, e bool, offset uint16) InstructionSIC {
|
|
return InstructionSIC{
|
|
opcode: opcode,
|
|
n: n,
|
|
i: i,
|
|
x: x,
|
|
b: b,
|
|
p: p,
|
|
e: e,
|
|
offset: offset
|
|
}
|
|
}
|
|
|