15 "r0",
"r1",
"r2",
"r3",
"r4",
"r5",
"r6",
"r7",
16 0, 0, 0, 0, 0, 0, 0, 0,
17 0, 0, 0, 0, 0, 0, 0, 0,
18 0, 0, 0, 0, 0, 0, 0, 0,
19 0, 0, 0, 0, 0, 0, 0, 0,
20 0, 0, 0, 0, 0, 0, 0, 0,
21 0, 0, 0, 0, 0, 0, 0, 0,
22 0, 0, 0, 0, 0, 0, 0, 0,
23 0, 0, 0, 0, 0, 0, 0, 0,
24 0, 0, 0, 0, 0, 0, 0, 0,
25 0, 0, 0, 0, 0, 0, 0, 0,
26 0, 0, 0, 0, 0, 0, 0, 0,
27 0, 0, 0, 0, 0, 0, 0, 0,
28 0, 0, 0, 0, 0, 0, 0, 0,
29 0, 0, 0, 0, 0, 0, 0, 0,
30 0, 0, 0, 0, 0, 0, 0, 0,
31 "p0",
"sp",
"dpl",
"dph", 0, 0, 0,
"pcon",
32 "tcon",
"tmod",
"tl0",
"tl1",
"th0",
"th1", 0, 0,
33 "p1", 0, 0, 0, 0, 0, 0, 0,
34 "scon",
"sbuf", 0, 0, 0, 0, 0, 0,
35 "p2", 0, 0, 0, 0, 0, 0, 0,
36 "ie", 0, 0, 0, 0, 0, 0, 0,
37 "p3", 0, 0, 0, 0, 0, 0, 0,
38 "ip", 0, 0, 0, 0, 0, 0, 0,
39 0, 0, 0, 0, 0, 0, 0, 0,
40 0, 0, 0, 0, 0, 0, 0, 0,
41 "psw", 0, 0, 0, 0, 0, 0, 0,
42 0, 0, 0, 0, 0, 0, 0, 0,
43 "acc", 0, 0, 0, 0, 0, 0, 0,
44 0, 0, 0, 0, 0, 0, 0, 0,
45 "b", 0, 0, 0, 0, 0, 0, 0,
46 0, 0, 0, 0, 0, 0, 0, 0
83 ut8 val1 = 0, val2 = 0;
88 if ((arg1 ==
A_RI) || (arg1 ==
A_RN)) {
101 }
else if ((arg1 ==
A_RI) || (arg1 ==
A_RN)) {
109 }
else if ((arg2 ==
A_RI) || (arg2 ==
A_RN)) {
113 }
else if (arg1 ==
A_BIT) {
124 return strdup(
"truncated");
137 }
else if (arg1 ==
A_BIT) {
162 return strdup(
"truncated");
static char * rz_8051_disas(ut64 pc, const ut8 *buf, int len, int *olen)
static char * _replace_register(char *disasm, ut8 arg, ut8 val)
static const char * _8051_regs[]
static ut64 arg_offset(ut64 bank, ut16 pc, ut8 offset)
static ut64 arg_addr11(ut64 bank, ut16 pc, const ut8 *buf)
static ut64 apply_bank(ut64 ref, ut16 addr)
Construct an address with the higher bits from ref (determining the bank) and the lower from addr (of...
static _8051_op_t _8051_ops[]
static ut8 arg_bit(ut8 bit_addr)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
return strdup("=SP r13\n" "=LR r14\n" "=PC r15\n" "=A0 r0\n" "=A1 r1\n" "=A2 r2\n" "=A3 r3\n" "=ZF zf\n" "=SF nf\n" "=OF vf\n" "=CF cf\n" "=SN or0\n" "gpr lr .32 56 0\n" "gpr pc .32 60 0\n" "gpr cpsr .32 64 0 ____tfiae_________________qvczn\n" "gpr or0 .32 68 0\n" "gpr tf .1 64.5 0 thumb\n" "gpr ef .1 64.9 0 endian\n" "gpr jf .1 64.24 0 java\n" "gpr qf .1 64.27 0 sticky_overflow\n" "gpr vf .1 64.28 0 overflow\n" "gpr cf .1 64.29 0 carry\n" "gpr zf .1 64.30 0 zero\n" "gpr nf .1 64.31 0 negative\n" "gpr itc .4 64.10 0 if_then_count\n" "gpr gef .4 64.16 0 great_or_equal\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 r16 .32 64 0\n" "gpr r17 .32 68 0\n")
RZ_API char * rz_str_newf(const char *fmt,...) RZ_PRINTF_CHECK(1
RZ_API char * rz_str_new(const char *str)
RZ_API char * rz_str_replace(char *str, const char *key, const char *val, int g)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()