spo/ass3/zbirnik/code/instructionSIC.go
2025-12-18 13:49:58 +01:00

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
}
}