(OP_4E09): Make cpfg properly trace the input flags.
(op_types): Add OP_FLAG_OUTPUT.
(trace_{input,output}): Support OP_FLAG_OUTPUT.
+ (OP_31000000): This ld2w varient is a 16-bit memory reference, not
+ an 8-bit memory reference instruction for tracing purposes.
Fri Sep 6 17:56:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
void
OP_31000000 ()
{
- trace_input ("ld2w", OP_REG_OUTPUT, OP_MEMREF, OP_VOID);
+ trace_input ("ld2w", OP_REG_OUTPUT, OP_MEMREF2, OP_VOID);
State.regs[OP[0]] = RW (OP[1] + State.regs[OP[2]]);
State.regs[OP[0]+1] = RW (OP[1] + State.regs[OP[2]] + 2);
trace_output (OP_DREG);