25 lines
455 B
Go
25 lines
455 B
Go
package instructionF4
|
|
|
|
type InstructionF4 struct {
|
|
opcode uint8,
|
|
n bool,
|
|
i bool,
|
|
x bool,
|
|
b bool,
|
|
p bool,
|
|
e bool,
|
|
offset uint32
|
|
}
|
|
|
|
func newInstructionF4(opcode uint8, n bool, i bool, x bool, b bool, p bool, e bool, offset uint32) InstructionF4 {
|
|
return InstructionF4{
|
|
opcode: opcode,
|
|
n: n,
|
|
i: i,
|
|
x: x,
|
|
b: b,
|
|
p: p,
|
|
e: e,
|
|
offset: offset
|
|
}
|
|
}
|