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 | fa024f00d2b12f8bfa0dd917894971831aaa0aec (patch) | |
tree | 855299462ee5eca4b25b13d9553ecbcf68410054 /opcodes/alpha-opc.c | |
parent | 6266d8d4540a6dd5e216e5801390a5b2cb552a79 (diff) | |
download | gdb-fa024f00d2b12f8bfa0dd917894971831aaa0aec.zip gdb-fa024f00d2b12f8bfa0dd917894971831aaa0aec.tar.gz gdb-fa024f00d2b12f8bfa0dd917894971831aaa0aec.tar.bz2 |
* 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 7a20a55..3f45f6c 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 } }, |