aboutsummaryrefslogtreecommitdiff
path: root/opcodes/alpha-opc.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-12-18 00:23:00 +0000
committerRichard Henderson <rth@redhat.com>2001-12-18 00:23:00 +0000
commitc2274b2767dba3175e585bd17f9f4a93b56cdc63 (patch)
treebe6d1ea8d291771e1b51bd8ca1877a1d607a01b0 /opcodes/alpha-opc.c
parent66ce524609b0ce9d4f1e95cad6a1a0b74d42bc60 (diff)
downloadgdb-c2274b2767dba3175e585bd17f9f4a93b56cdc63.zip
gdb-c2274b2767dba3175e585bd17f9f4a93b56cdc63.tar.gz
gdb-c2274b2767dba3175e585bd17f9f4a93b56cdc63.tar.bz2
* alpha-opc.c (unop): Encode with RB as $sp.
Diffstat (limited to 'opcodes/alpha-opc.c')
-rw-r--r--opcodes/alpha-opc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/alpha-opc.c b/opcodes/alpha-opc.c
index d5f0314..7a20a55 100644
--- a/opcodes/alpha-opc.c
+++ b/opcodes/alpha-opc.c
@@ -542,7 +542,8 @@ const struct alpha_opcode alpha_opcodes[] = {
{ "lda", MEM(0x08), BASE, ARG_MEM },
{ "ldah", MEM(0x09), BASE, ARG_MEM },
{ "ldbu", MEM(0x0A), BWX, ARG_MEM },
- { "unop", MEM(0x0B), BASE, { ZA } }, /* pseudo */
+ { "unop", MEM_(0x0B) | (30 << 16),
+ MEM_MASK, BASE, { ZA } }, /* pseudo */
{ "ldq_u", MEM(0x0B), BASE, ARG_MEM },
{ "ldwu", MEM(0x0C), BWX, ARG_MEM },
{ "stw", MEM(0x0D), BWX, ARG_MEM },