diff options
author | Richard Henderson <rth@redhat.com> | 2002-02-15 09:43:16 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2002-02-15 09:43:16 +0000 |
commit | 2cf622d13f0f7809a5cce73a12a27d75404fe638 (patch) | |
tree | 2741c52944bfa90c343a8c1e020a7cbe80c56dd8 /opcodes/alpha-opc.c | |
parent | 00b58595e96b4a6eeae0f41289026e6cf04ea54e (diff) | |
download | binutils-redhat-2cf622d13f0f7809a5cce73a12a27d75404fe638.tar.gz |
* alpha-opc.c (alpha_opcodes): Add simple pseudos for
lda, ldah, jmp, ret.
Diffstat (limited to 'opcodes/alpha-opc.c')
-rw-r--r-- | opcodes/alpha-opc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/alpha-opc.c b/opcodes/alpha-opc.c index 7a20a55d95..3f45f6c5ea 100644 --- a/opcodes/alpha-opc.c +++ b/opcodes/alpha-opc.c @@ -539,7 +539,9 @@ const struct alpha_opcode alpha_opcodes[] = { { "call_pal", PCD(0x00), BASE, ARG_PCD }, { "pal", PCD(0x00), BASE, ARG_PCD }, /* alias */ + { "lda", MEM(0x08), BASE, { RA, MDISP, ZB } }, /* pseudo */ { "lda", MEM(0x08), BASE, ARG_MEM }, + { "ldah", MEM(0x09), BASE, { RA, MDISP, ZB } }, /* pseudo */ { "ldah", MEM(0x09), BASE, ARG_MEM }, { "ldbu", MEM(0x0A), BWX, ARG_MEM }, { "unop", MEM_(0x0B) | (30 << 16), @@ -1118,8 +1120,12 @@ const struct alpha_opcode alpha_opcodes[] = { { "hw_mfpr/pai", OPR(0x19,0x07), EV4, ARG_EV4HWMPR }, { "pal19", PCD(0x19), BASE, ARG_PCD }, + { "jmp", MBR_(0x1A,0), MBR_MASK | 0x3FFF, /* pseudo */ + BASE, { ZA, CPRB } }, { "jmp", MBR(0x1A,0), BASE, { RA, CPRB, JMPHINT } }, { "jsr", MBR(0x1A,1), BASE, { RA, CPRB, JMPHINT } }, + { "ret", MBR_(0x1A,2) | (31 << 21) | (26 << 16) | 1,/* pseudo */ + MBR_MASK, BASE, { 0 } }, { "ret", MBR(0x1A,2), BASE, { RA, CPRB, RETHINT } }, { "jcr", MBR(0x1A,3), BASE, { RA, CPRB, RETHINT } }, /* alias */ { "jsr_coroutine", MBR(0x1A,3), BASE, { RA, CPRB, RETHINT } }, |