Rizin
unix-like reverse engineering framework and cli tools
v850.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2020 Zi Fan <zifan.tan@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 return strdup(
5  "=PC pc\n"
6  "=SP sp\n"
7  "gpr r0 .32 0 0\n"
8  "gpr r1 .32 4 0\n"
9  "gpr r2 .32 8 0\n"
10  "gpr sp .32 12 0\n" // r3
11  "gpr gp .32 16 0\n" // r4
12  "gpr r5 .32 20 0\n"
13  "gpr r6 .32 24 0\n"
14  "gpr r7 .32 28 0\n"
15  "gpr r8 .32 32 0\n"
16  "gpr r9 .32 36 0\n"
17  "gpr r10 .32 40 0\n"
18  "gpr r11 .32 44 0\n"
19  "gpr r12 .32 48 0\n"
20  "gpr r13 .32 52 0\n"
21  "gpr r14 .32 56 0\n"
22  "gpr r15 .32 60 0\n"
23  "gpr r16 .32 64 0\n"
24  "gpr r17 .32 68 0\n"
25  "gpr r18 .32 72 0\n"
26  "gpr r19 .32 76 0\n"
27  "gpr r20 .32 80 0\n"
28  "gpr r21 .32 84 0\n"
29  "gpr r22 .32 88 0\n"
30  "gpr r23 .32 92 0\n"
31  "gpr r24 .32 96 0\n"
32  "gpr r25 .32 100 0\n"
33  "gpr r26 .32 104 0\n"
34  "gpr r27 .32 108 0\n"
35  "gpr r28 .32 112 0\n"
36  "gpr r29 .32 116 0\n"
37  "gpr ep .32 120 0\n" // r30
38  "gpr lp .32 124 0\n" // r31
39  "gpr eipc .32 128 0\n"
40  "gpr eipsw .32 132 0\n"
41  "gpr fepc .32 136 0\n"
42  "gpr fepsw .32 140 0\n"
43  "gpr ecr .32 144 0\n"
44  "gpr psw .32 148 0\n"
45  // 5x reserved, sccfg, scbp, eiic, feic, dbic, ctpc, ctpsw, dbpc, dbpsw, ctbp
46  // debug stuff, eiwr, fewr, dbwr, bsel
47  "gpr pc .32 256 0\n");
return strdup("=PC pc\n" "=SP sp\n" "gpr r0 .32 0 0\n" "gpr r1 .32 4 0\n" "gpr r2 .32 8 0\n" "gpr sp .32 12 0\n" "gpr gp .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" "gpr r18 .32 72 0\n" "gpr r19 .32 76 0\n" "gpr r20 .32 80 0\n" "gpr r21 .32 84 0\n" "gpr r22 .32 88 0\n" "gpr r23 .32 92 0\n" "gpr r24 .32 96 0\n" "gpr r25 .32 100 0\n" "gpr r26 .32 104 0\n" "gpr r27 .32 108 0\n" "gpr r28 .32 112 0\n" "gpr r29 .32 116 0\n" "gpr ep .32 120 0\n" "gpr lp .32 124 0\n" "gpr eipc .32 128 0\n" "gpr eipsw .32 132 0\n" "gpr fepc .32 136 0\n" "gpr fepsw .32 140 0\n" "gpr ecr .32 144 0\n" "gpr psw .32 148 0\n" "gpr pc .32 256 0\n")