-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathRh850.fs
99 lines (88 loc) · 2.7 KB
/
Rh850.fs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT
namespace UnicornManaged.Const
open System
[<AutoOpen>]
module Rh850 =
let UC_RH850_SYSREG_SELID0 = 32
let UC_RH850_SYSREG_SELID1 = 64
let UC_RH850_SYSREG_SELID2 = 96
let UC_RH850_SYSREG_SELID3 = 128
let UC_RH850_SYSREG_SELID4 = 160
let UC_RH850_SYSREG_SELID5 = 192
let UC_RH850_SYSREG_SELID6 = 224
let UC_RH850_SYSREG_SELID7 = 256
// RH850 global purpose registers
let UC_RH850_REG_R0 = 0
let UC_RH850_REG_R1 = 1
let UC_RH850_REG_R2 = 2
let UC_RH850_REG_R3 = 3
let UC_RH850_REG_R4 = 4
let UC_RH850_REG_R5 = 5
let UC_RH850_REG_R6 = 6
let UC_RH850_REG_R7 = 7
let UC_RH850_REG_R8 = 8
let UC_RH850_REG_R9 = 9
let UC_RH850_REG_R10 = 10
let UC_RH850_REG_R11 = 11
let UC_RH850_REG_R12 = 12
let UC_RH850_REG_R13 = 13
let UC_RH850_REG_R14 = 14
let UC_RH850_REG_R15 = 15
let UC_RH850_REG_R16 = 16
let UC_RH850_REG_R17 = 17
let UC_RH850_REG_R18 = 18
let UC_RH850_REG_R19 = 19
let UC_RH850_REG_R20 = 20
let UC_RH850_REG_R21 = 21
let UC_RH850_REG_R22 = 22
let UC_RH850_REG_R23 = 23
let UC_RH850_REG_R24 = 24
let UC_RH850_REG_R25 = 25
let UC_RH850_REG_R26 = 26
let UC_RH850_REG_R27 = 27
let UC_RH850_REG_R28 = 28
let UC_RH850_REG_R29 = 29
let UC_RH850_REG_R30 = 30
let UC_RH850_REG_R31 = 31
// RH850 system registers, selection ID 0
let UC_RH850_REG_EIPC = 32
let UC_RH850_REG_EIPSW = 33
let UC_RH850_REG_FEPC = 34
let UC_RH850_REG_FEPSW = 35
let UC_RH850_REG_ECR = 36
let UC_RH850_REG_PSW = 37
let UC_RH850_REG_FPSR = 38
let UC_RH850_REG_FPEPC = 39
let UC_RH850_REG_FPST = 40
let UC_RH850_REG_FPCC = 41
let UC_RH850_REG_FPCFG = 42
let UC_RH850_REG_FPEC = 43
let UC_RH850_REG_EIIC = 45
let UC_RH850_REG_FEIC = 46
let UC_RH850_REG_CTPC = 48
let UC_RH850_REG_CTPSW = 49
let UC_RH850_REG_CTBP = 52
let UC_RH850_REG_EIWR = 60
let UC_RH850_REG_FEWR = 61
let UC_RH850_REG_BSEL = 63
// RH850 system regusters, selection ID 1
let UC_RH850_REG_MCFG0 = 64
let UC_RH850_REG_RBASE = 65
let UC_RH850_REG_EBASE = 66
let UC_RH850_REG_INTBP = 67
let UC_RH850_REG_MCTL = 68
let UC_RH850_REG_PID = 69
let UC_RH850_REG_SCCFG = 75
let UC_RH850_REG_SCBP = 76
// RH850 system registers, selection ID 2
let UC_RH850_REG_HTCFG0 = 96
let UC_RH850_REG_MEA = 102
let UC_RH850_REG_ASID = 103
let UC_RH850_REG_MEI = 104
let UC_RH850_REG_PC = 288
let UC_RH850_REG_ENDING = 289
// RH8509 Registers aliases.
let UC_RH850_REG_ZERO = 0
let UC_RH850_REG_SP = 3
let UC_RH850_REG_EP = 30
let UC_RH850_REG_LP = 31