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

Subversion Repositories light52

[/] [light52/] [trunk/] [test/] [include/] [LIGHT52.MCU] - Rev 6

Go to most recent revision | Compare with Previous | Blame | View Log

;   Light52 processor definition file (for ASEM-51 assembler)
;   =========================================================

P0          DATA        080H
SP          DATA        081H
DPL         DATA        082H
DPH         DATA        083H
;PCON      DATA        087H
TSTAT       DATA        088H
;TMOD      DATA        089H
TL          DATA        08CH
TH          DATA        08DH
TCL         DATA        08EH
TCH         DATA        08FH
P1          DATA        090H
SCON        DATA        098H
SBUF        DATA        099H
P2          DATA        0A0H
IE          DATA        0A8H
P3          DATA        0B0H
;IP        DATA        0B8H
EXTINT0     DATA        0C0H
PSW         DATA        0D0H
ACC         DATA        0E0H
B           DATA        0F0H

; TSTAT flags
T0IRQ       BIT         088H
T0ARL       BIT         08CH
T0CEN       BIT         08DH

; IE flags
EX0         BIT         0A8H
ET0         BIT         0A9H
;EX1         BIT        0AAH
;ET1         BIT        0ABH
ES          BIT         0ACH
;ET2         BIT        0ADH
EA          BIT         0AFH

; SCON flags
TXIRQ       BIT         098H
RXIRQ       BIT         099H
TXRDY       BIT         09CH
RXRDY       BIT         09DH

; PSW flags
P           BIT        0D0H
OV          BIT        0D2H
RS0         BIT        0D3H
RS1         BIT        0D4H
F0          BIT        0D5H
AC          BIT        0D6H
CY          BIT        0D7H

; Interrupt vectors
RESET       CODE       000H
EXTI0       CODE       003H
TIMER0      CODE       00BH
EXTI1       CODE       013H
TIMER1      CODE       01BH
SINT        CODE       023H
TIMER2      CODE       02BH

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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