OpenCores
URL https://opencores.org/ocsvn/light52/light52/trunk

Subversion Repositories light52

[/] [light52/] [trunk/] [test/] [include/] [LIGHT52.MCU] - Blame information for rev 18

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 ja_rd
;   Light52 processor definition file (for ASEM-51 assembler)
2
;   =========================================================
3
 
4
P0          DATA        080H
5
SP          DATA        081H
6
DPL         DATA        082H
7
DPH         DATA        083H
8
;PCON      DATA        087H
9
TSTAT       DATA        088H
10
;TMOD      DATA        089H
11
TL          DATA        08CH
12
TH          DATA        08DH
13
TCL         DATA        08EH
14
TCH         DATA        08FH
15
P1          DATA        090H
16
SCON        DATA        098H
17
SBUF        DATA        099H
18
P2          DATA        0A0H
19
IE          DATA        0A8H
20
P3          DATA        0B0H
21 18 ja_rd
IP          DATA        0B8H
22 3 ja_rd
EXTINT0     DATA        0C0H
23
PSW         DATA        0D0H
24
ACC         DATA        0E0H
25
B           DATA        0F0H
26
 
27
; TSTAT flags
28
T0IRQ       BIT         088H
29
T0ARL       BIT         08CH
30
T0CEN       BIT         08DH
31
 
32
; IE flags
33
EX0         BIT         0A8H
34
ET0         BIT         0A9H
35
;EX1         BIT        0AAH
36
;ET1         BIT        0ABH
37
ES          BIT         0ACH
38
;ET2         BIT        0ADH
39
EA          BIT         0AFH
40
 
41
; SCON flags
42
TXIRQ       BIT         098H
43
RXIRQ       BIT         099H
44
TXRDY       BIT         09CH
45
RXRDY       BIT         09DH
46
 
47
; PSW flags
48
P           BIT        0D0H
49
OV          BIT        0D2H
50
RS0         BIT        0D3H
51
RS1         BIT        0D4H
52
F0          BIT        0D5H
53
AC          BIT        0D6H
54
CY          BIT        0D7H
55
 
56
; Interrupt vectors
57
RESET       CODE       000H
58
EXTI0       CODE       003H
59
TIMER0      CODE       00BH
60
EXTI1       CODE       013H
61
TIMER1      CODE       01BH
62
SINT        CODE       023H
63
TIMER2      CODE       02BH

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.