FreeCalypso > hg > freecalypso-reveng
annotate arm7dis/atcommon.c @ 104:52cec4b71cfe
C139 boot re: got to UART initialization
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 31 Mar 2014 03:11:25 +0000 |
parents | fb5ea2758482 |
children | c883e60df239 |
rev | line source |
---|---|
87
f7fba8518fa2
armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* a few disassembly bits common between ARM and Thumb */ |
f7fba8518fa2
armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 |
f7fba8518fa2
armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 char *regnames[16] = {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", |
f7fba8518fa2
armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 "r8", "r9", "r10", "r11", "r12", "sp", "lr", "pc"}; |
f7fba8518fa2
armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 |
f7fba8518fa2
armdis: skeleton compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 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
|
7 "hi", "ls", "ge", "lt", "gt", "le", "", "INV"}; |
97
fb5ea2758482
thumbdis written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
87
diff
changeset
|
8 |
fb5ea2758482
thumbdis written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
87
diff
changeset
|
9 char *shift_types[4] = {"lsl", "lsr", "asr", "ror"}; |