FreeCalypso > hg > freecalypso-reveng
annotate arm7dis/atcommon.c @ 401:4b6b595ae0a0
compal/boot/code-deriv: new analysis
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Sat, 14 Jan 2023 23:59:23 +0000 | 
| parents | c883e60df239 | 
| children | 
| rev | line source | 
|---|---|
| 107 
c883e60df239
arm7dis: README and header comments added
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
97diff
changeset | 1 /* | 
| 
c883e60df239
arm7dis: README and header comments added
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
97diff
changeset | 2 * Lean and mean ARM7TDMI disassembler | 
| 
c883e60df239
arm7dis: README and header comments added
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
97diff
changeset | 3 * Written by Spacefalcon the Outlaw | 
| 
c883e60df239
arm7dis: README and header comments added
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
97diff
changeset | 4 */ | 
| 
c883e60df239
arm7dis: README and header comments added
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
97diff
changeset | 5 | 
| 87 
f7fba8518fa2
armdis: skeleton compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 6 /* a few disassembly bits common between ARM and Thumb */ | 
| 
f7fba8518fa2
armdis: skeleton compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 7 | 
| 
f7fba8518fa2
armdis: skeleton compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 8 char *regnames[16] = {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", | 
| 
f7fba8518fa2
armdis: skeleton compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 9 "r8", "r9", "r10", "r11", "r12", "sp", "lr", "pc"}; | 
| 
f7fba8518fa2
armdis: skeleton compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 10 | 
| 
f7fba8518fa2
armdis: skeleton compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 11 char *condition_decode[16] = {"eq", "ne", "cs", "cc", "mi", "pl", "vs", "vc", | 
| 
f7fba8518fa2
armdis: skeleton compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 12 "hi", "ls", "ge", "lt", "gt", "le", "", "INV"}; | 
| 97 
fb5ea2758482
thumbdis written, compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
87diff
changeset | 13 | 
| 
fb5ea2758482
thumbdis written, compiles
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
87diff
changeset | 14 char *shift_types[4] = {"lsl", "lsr", "asr", "ror"}; | 
