From c2274b2767dba3175e585bd17f9f4a93b56cdc63 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 18 Dec 2001 00:23:00 +0000 Subject: [PATCH] * alpha-opc.c (unop): Encode with RB as $sp. --- opcodes/ChangeLog | 4 ++++ opcodes/alpha-opc.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 383e52a..4f01459 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2001-12-17 Richard Henderson + + * alpha-opc.c (unop): Encode with RB as $sp. + 2001-12-07 Geoffrey Keating * Makefile.am: Add support for xstormy16. 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 }, -- 2.7.4