comparison leo-obj/tool/atcommon.c @ 130:87b82398a08b

leo-obj project subtree started, tiobjd tool moved into it
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 06 Apr 2014 22:14:39 +0000
parents ticoff/atcommon.c@0f94d17899b3
children
comparison
equal deleted inserted replaced
129:597143ba1c37 130:87b82398a08b
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"};