Fix ld2w tracing

This commit is contained in:
Michael Meissner 1996-09-09 20:45:33 +00:00
parent 60fc5b7270
commit 308f64d3ac
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@ Mon Sep 9 13:27:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
(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>

View File

@ -1068,7 +1068,7 @@ OP_6000 ()
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);