-
Notifications
You must be signed in to change notification settings - Fork 0
/
sfr.i
72 lines (66 loc) · 878 Bytes
/
sfr.i
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
*
* Special Function Register addresses
*
ACC EQU $100
PSW EQU $101
B EQU $102
C EQU $103
TRL EQU $104
TRH EQU $105
SP EQU $106
PCON EQU $107
IE EQU $108
IP EQU $109
EXT EQU $10D
OCR EQU $10E
T0CON EQU $110
T0PRR EQU $111
T0L EQU $112
T0LR EQU $113
T0H EQU $114
T0HR EQU $115
T1CNT EQU $118
T1LC EQU $11A
T1L EQU $11B
T1LR EQU $11B
T1HC EQU $11C
T1H EQU $11D
T1HR EQU $11D
MCR EQU $120
STAD EQU $122
CNR EQU $123
TDR EQU $124
XBNK EQU $125
VCCR EQU $127
SCON0 EQU $130
SBUF0 EQU $131
SBR EQU $132
SCON1 EQU $134
SBUF1 EQU $135
P1 EQU $144
P1DDR EQU $145
P1FCR EQU $146
P3 EQU $14C
P3DDR EQU $14D
P3INT EQU $14E
P7 EQU $15C
I01CR EQU $15D
I23CR EQU $15E
ISL EQU $15F
VSEL EQU $163
VRMAD1 EQU $164
VRMAD2 EQU $165
VTRBF EQU $166
VLREG EQU $167
BTCR EQU $17F
XRAM EQU $180
*
* PSW bits
*
CY EQU 7
AC EQU 6
IRBK1 EQU 4
IRBK0 EQU 3
OV EQU 2
RAMBK0 EQU 1
P EQU 0