From d1607ed3162ecaecd5129566054bfdfbc3683847 Mon Sep 17 00:00:00 2001 From: Joyce Janczyn Date: Wed, 25 Mar 1998 22:43:19 +0000 Subject: [PATCH] * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value. --- sim/mn10300/ChangeLog | 4 ++++ sim/mn10300/mn10300.igen | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 7e703369470..94cfe16e9fc 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 25 17:42:00 1998 Joyce Janczyn + + * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value. + Wed Mar 25 12:08:00 1998 Joyce Janczyn * simops.c (OP_F0FD): Initialise variable 'sp'. diff --git a/sim/mn10300/mn10300.igen b/sim/mn10300/mn10300.igen index 27685a89d75..2e16d278027 100644 --- a/sim/mn10300/mn10300.igen +++ b/sim/mn10300/mn10300.igen @@ -1822,7 +1822,7 @@ if ( AM1 == AN0 ) { // op_B000 (); - genericCmp(EXTEND8 (IMEM8_IMMED (cia, 1)), + genericCmp(IMEM8_IMMED (cia, 1), State.regs[REG_A0 + AN0]); nia = cia + 2; } -- 2.30.2