25 lines
437 B
Go
25 lines
437 B
Go
package instructionF3
|
|
|
|
type InstructionF3 struct {
|
|
opcode uint8
|
|
n bool
|
|
i bool
|
|
x bool
|
|
b bool
|
|
p bool
|
|
e bool
|
|
offset uint16
|
|
}
|
|
|
|
func newInstructionF3(opcode uint8, n bool, i bool, x bool, b bool, p bool, e bool, offset uint16) InstructionF3 {
|
|
return InstructionF3{
|
|
opcode: opcode,
|
|
n: n,
|
|
i: i,
|
|
x: x,
|
|
b: b,
|
|
p: p,
|
|
e: e,
|
|
offset: offset
|
|
}
|
|
}
|