comparison ticoff/atcommon.c @ 111:0f94d17899b3

tiobjd: disassembly integrated, no relocs or hints yet
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 03 Apr 2014 05:14:15 +0000
parents
children
comparison
equal deleted inserted replaced
110:e650fdc743fe 111:0f94d17899b3
1 /*
2 * Lean and mean ARM7TDMI disassembler
3 * Written by Spacefalcon the Outlaw
4 */
5
6 /* a few disassembly bits common between ARM and Thumb */
7
8 char *regnames[16] = {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
9 "r8", "r9", "r10", "r11", "r12", "sp", "lr", "pc"};
10
11 char *condition_decode[16] = {"eq", "ne", "cs", "cc", "mi", "pl", "vs", "vc",
12 "hi", "ls", "ge", "lt", "gt", "le", "", "INV"};
13
14 char *shift_types[4] = {"lsl", "lsr", "asr", "ror"};