FreeCalypso > hg > freecalypso-reveng
view leo-obj/tool/atcommon.c @ 155:15743b40e03a
tiobjd ctypes: print more useful hex byte offsets for struct fields
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 02 May 2014 23:41:44 +0000 |
parents | 87b82398a08b |
children |
line wrap: on
line source
/* * Lean and mean ARM7TDMI disassembler * Written by Spacefalcon the Outlaw */ /* a few disassembly bits common between ARM and Thumb */ char *regnames[16] = {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "sp", "lr", "pc"}; char *condition_decode[16] = {"eq", "ne", "cs", "cc", "mi", "pl", "vs", "vc", "hi", "ls", "ge", "lt", "gt", "le", "", "INV"}; char *shift_types[4] = {"lsl", "lsr", "asr", "ror"};