Rizin
unix-like reverse engineering framework and cli tools
darwin-arm.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2015 pancake <pancake@nopcode.org>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #if 0
5 ut32 gpr[13]
6 ut32 sp -- r13
7 ut32 lr -- r14
8 ut32 pc -- r15
9 ut32 cpsr -- program status
10 --> ut32[17]
11 // TODO: add
12 MMX: NEON
13  ut128 v[32] // or 16 in arm32
14  ut32 fpsr;
15  ut32 fpcr;
16 VFP: FPU
17  ut32 r[64]
18  ut32 fpscr
19 #endif
20 return strdup(
21  "=PC r15\n"
22  "=LR r14\n"
23  "=SP r13\n"
24  "=BP fp\n"
25  "=A0 r0\n"
26  "=A1 r1\n"
27  "=A2 r2\n"
28  "=A3 r3\n"
29  "gpr r0 .32 0 0\n"
30  "gpr r1 .32 4 0\n"
31  "gpr r2 .32 8 0\n"
32  "gpr r3 .32 12 0\n"
33  "gpr r4 .32 16 0\n"
34  "gpr r5 .32 20 0\n"
35  "gpr r6 .32 24 0\n"
36  "gpr r7 .32 28 0\n"
37  "gpr r8 .32 32 0\n"
38  "gpr r9 .32 36 0\n"
39  "gpr r10 .32 40 0\n"
40  "gpr r11 .32 44 0\n"
41  "gpr r12 .32 48 0\n"
42  "gpr r13 .32 52 0\n"
43  "gpr r14 .32 56 0\n"
44  "gpr r15 .32 60 0\n"
45  "gpr cpsr .32 64 0\n"
46  "gpr nf .1 .512 0 sign\n" // msb bit of last op
47  "gpr zf .1 .513 0 zero\n" // set if last op is 0
48  "gpr cf .1 .514 0 carry\n" // set if last op carries
49  "gpr vf .1 .515 0 overflow\n" // set if overflows
50  "gpr thumb .1 .517 0 thumb\n");
#define r
Definition: crypto_rc6.c:12
return strdup("=PC r15\n" "=LR r14\n" "=SP r13\n" "=BP fp\n" "=A0 r0\n" "=A1 r1\n" "=A2 r2\n" "=A3 r3\n" "gpr r0 .32 0 0\n" "gpr r1 .32 4 0\n" "gpr r2 .32 8 0\n" "gpr r3 .32 12 0\n" "gpr r4 .32 16 0\n" "gpr r5 .32 20 0\n" "gpr r6 .32 24 0\n" "gpr r7 .32 28 0\n" "gpr r8 .32 32 0\n" "gpr r9 .32 36 0\n" "gpr r10 .32 40 0\n" "gpr r11 .32 44 0\n" "gpr r12 .32 48 0\n" "gpr r13 .32 52 0\n" "gpr r14 .32 56 0\n" "gpr r15 .32 60 0\n" "gpr cpsr .32 64 0\n" "gpr nf .1 .512 0 sign\n" "gpr zf .1 .513 0 zero\n" "gpr cf .1 .514 0 carry\n" "gpr vf .1 .515 0 overflow\n" "gpr thumb .1 .517 0 thumb\n")
uint32_t ut32
const char * v
Definition: dsignal.c:12
static const char struct stat static buf struct stat static buf static vhangup int status
Definition: sflib.h:145
r13
Definition: regs-good.s.cs:8
static int sp
Definition: z80asm.c:91