diff options
author | DJ Delorie <dj@redhat.com> | 2009-12-23 03:51:47 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2009-12-23 03:51:47 +0000 |
commit | feafbb2e30a44528263753647e5b412d9576876e (patch) | |
tree | cc20ed51dc6eb2ebce1ad33b0c4357582d5f9513 /sim/rx/rx.c | |
parent | 546c251368b610889bac5f3fa51fc161318b9d86 (diff) | |
download | gdb-feafbb2e30a44528263753647e5b412d9576876e.zip gdb-feafbb2e30a44528263753647e5b412d9576876e.tar.gz gdb-feafbb2e30a44528263753647e5b412d9576876e.tar.bz2 |
* rx/rx.c (decode_opcode): btst bit address mask fix.
Diffstat (limited to 'sim/rx/rx.c')
-rw-r--r-- | sim/rx/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/rx/rx.c b/sim/rx/rx.c index 68329e2..c9c3c01 100644 --- a/sim/rx/rx.c +++ b/sim/rx/rx.c @@ -676,7 +676,7 @@ decode_opcode () case RXO_btst: ma = GS (); mb = GS2 (); - if (opcode.op[0].type == RX_Operand_Register) + if (opcode.op[1].type == RX_Operand_Register) mb &= 0x1f; else mb &= 0x07; |