Rizin
unix-like reverse engineering framework and cli tools
basic-thumb-instructions.s.cs
Go to the documentation of this file.
1 # CS_ARCH_ARM, CS_MODE_THUMB, None
2 0x74,0x41 = adcs r4, r6
3 0xd1,0x1c = adds r1, r2, #3
4 0x03,0x32 = adds r2, #3
5 0x08,0x32 = adds r2, #8
6 0xd1,0x18 = adds r1, r2, r3
7 0x42,0x44 = add r2, r8
8 0x01,0xb0 = add sp, #4
9 0x7f,0xb0 = add sp, #508
10 0x01,0xb0 = add sp, #4
11 0x02,0xaa = add r2, sp, #8
12 0xff,0xaa = add r2, sp, #1020
13 0x82,0xb0 = sub sp, #8
14 0x82,0xb0 = sub sp, #8
15 0x9d,0x44 = add sp, r3
16 0x6a,0x44 = add r2, sp, r2
17 0x00,0xa5 = adr r5, #0
18 0x01,0xa2 = adr r2, #4
19 0xff,0xa3 = adr r3, #1020
20 0x1a,0x10 = asrs r2, r3, #32
21 0x5a,0x11 = asrs r2, r3, #5
22 0x5a,0x10 = asrs r2, r3, #1
23 0x6d,0x15 = asrs r5, r5, #21
24 0x6d,0x15 = asrs r5, r5, #21
25 0x6b,0x15 = asrs r3, r5, #21
26 0x15,0x41 = asrs r5, r2
27 0x97,0xe3 = b #1838
28 0x2e,0xe7 = b #-420
29 0x80,0xd0 = beq #-256
30 0x50,0xd0 = beq #160
31 0xd8,0xf0,0x20,0xe8 = blx #884800
32 0xb0,0xf1,0x40,0xe8 = blx #1769600
33 0xb1,0x43 = bics r1, r6
34 0x00,0xbe = bkpt #0
35 0xff,0xbe = bkpt #255
36 0xa0,0x47 = blx r4
37 0x10,0x47 = bx r2
38 0xcd,0x42 = cmn r5, r1
39 0x20,0x2e = cmp r6, #32
40 0xa3,0x42 = cmp r3, r4
41 0x88,0x45 = cmp r8, r1
42 0x61,0xb6 = cpsie f
43 0x74,0xb6 = cpsid a
44 0x6c,0x40 = eors r4, r5
45 0xff,0xcb = ldm r3, {r0, r1, r2, r3, r4, r5, r6, r7}
46 0xba,0xca = ldm r2!, {r1, r3, r4, r5, r7}
47 0x02,0xc9 = ldm r1, {r1}
48 0x29,0x68 = ldr r1, [r5]
49 0x32,0x6a = ldr r2, [r6, #32]
50 0xfb,0x6f = ldr r3, [r7, #124]
51 0x00,0x99 = ldr r1, [sp]
52 0x06,0x9a = ldr r2, [sp, #24]
53 0xff,0x9b = ldr r3, [sp, #1020]
54 0x97,0x4b = ldr r3, [pc, #604]
55 0x5c,0x4b = ldr r3, [pc, #368]
56 0xd1,0x58 = ldr r1, [r2, r3]
57 0x1c,0x78 = ldrb r4, [r3]
58 0x35,0x78 = ldrb r5, [r6]
59 0xfe,0x7f = ldrb r6, [r7, #31]
60 0x66,0x5d = ldrb r6, [r4, r5]
61 0x1b,0x88 = ldrh r3, [r3]
62 0x74,0x88 = ldrh r4, [r6, #2]
63 0xfd,0x8f = ldrh r5, [r7, #62]
64 0x96,0x5b = ldrh r6, [r2, r6]
65 0x96,0x57 = ldrsb r6, [r2, r6]
66 0x7b,0x5e = ldrsh r3, [r7, r1]
67 0x2c,0x00 = lsls r4, r5, #0
68 0x2c,0x01 = lsls r4, r5, #4
69 0x1b,0x03 = lsls r3, r3, #12
70 0x1b,0x03 = lsls r3, r3, #12
71 0x19,0x03 = lsls r1, r3, #12
72 0xb2,0x40 = lsls r2, r6
73 0x59,0x08 = lsrs r1, r3, #1
74 0x19,0x08 = lsrs r1, r3, #32
75 0x24,0x0d = lsrs r4, r4, #20
76 0x24,0x0d = lsrs r4, r4, #20
77 0x22,0x0d = lsrs r2, r4, #20
78 0xf2,0x40 = lsrs r2, r6
79 0x00,0x22 = movs r2, #0
80 0xff,0x22 = movs r2, #255
81 0x17,0x22 = movs r2, #23
82 0x23,0x46 = mov r3, r4
83 0x19,0x00 = movs r1, r3
84 0x51,0x43 = muls r1, r2, r1
85 0x5a,0x43 = muls r2, r3, r2
86 0x63,0x43 = muls r3, r4, r3
87 0xde,0x43 = mvns r6, r3
88 0x63,0x42 = rsbs r3, r4, #0
89 0x4c,0xbc = pop {r2, r3, r6}
90 0x86,0xb4 = push {r1, r2, r7}
91 0x1e,0xba = rev r6, r3
92 0x57,0xba = rev16 r7, r2
93 0xcd,0xba = revsh r5, r1
94 0xfa,0x41 = rors r2, r7
95 0x59,0x42 = rsbs r1, r3, #0
96 0x9c,0x41 = sbcs r4, r3
97 0x58,0xb6 = setend be
98 0x50,0xb6 = setend le
99 0x44,0xc1 = stm r1!, {r2, r6}
100 0x8e,0xc1 = stm r1!, {r1, r2, r3, r7}
101 0x3a,0x60 = str r2, [r7]
102 0x3a,0x60 = str r2, [r7]
103 0x4d,0x60 = str r5, [r1, #4]
104 0xfb,0x67 = str r3, [r7, #124]
105 0x00,0x92 = str r2, [sp]
106 0x00,0x93 = str r3, [sp]
107 0x05,0x94 = str r4, [sp, #20]
108 0xff,0x95 = str r5, [sp, #1020]
109 0xfa,0x50 = str r2, [r7, r3]
110 0x1c,0x70 = strb r4, [r3]
111 0x35,0x70 = strb r5, [r6]
112 0xfe,0x77 = strb r6, [r7, #31]
113 0x66,0x55 = strb r6, [r4, r5]
114 0x1b,0x80 = strh r3, [r3]
115 0x74,0x80 = strh r4, [r6, #2]
116 0xfd,0x87 = strh r5, [r7, #62]
117 0x96,0x53 = strh r6, [r2, r6]
118 0xd1,0x1e = subs r1, r2, #3
119 0x03,0x3a = subs r2, #3
120 0x08,0x3a = subs r2, #8
121 0x83,0xb0 = sub sp, #12
122 0xff,0xb0 = sub sp, #508
123 0xd1,0x1a = subs r1, r2, r3
124 0x00,0xdf = svc #0
125 0xff,0xdf = svc #255
126 0x6b,0xb2 = sxtb r3, r5
127 0x2b,0xb2 = sxth r3, r5
128 0x0e,0x42 = tst r6, r1
129 0xd7,0xb2 = uxtb r7, r2
130 0xa1,0xb2 = uxth r1, r4
static RzILOpEffect * adr(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:449
static RzILOpEffect * cmp(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:942
static RzILOpEffect * rev(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:1590
static RzILOpEffect * tst(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:849
static RzILOpEffect * svc(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:1134
static RzILOpEffect * revsh(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:1610
static RzILOpEffect * ldm(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:1029
static RzILOpEffect * ldr(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:564
static RzILOpEffect * mov(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:351
static RzILOpEffect * stm(cs_insn *insn, bool is_thumb)
Definition: arm_il32.c:968
#define b(i)
Definition: sha256.c:42
#define f(i)
Definition: sha256.c:46
#define a(i)
Definition: sha256.c:41
static int add(char *argv[])
Definition: ziptool.c:84