;-------------------------------------------------------------------
; Copyright 1997 KEIL ELEKTRONIK GmbH.  1997, All rights reserved.
; Philips 8xC652/654 Processor Declarations
;-------------------------------------------------------------------
$SAVE
$NOLIST
;
;  BYTE Registers  
P0     DATA 080H
P1     DATA 090H
P2     DATA 0A0H
P3     DATA 0B0H
PSW    DATA 0D0H
ACC    DATA 0E0H
B      DATA 0F0H
SP     DATA 081H
DPL    DATA 082H
DPH    DATA 083H
PCON   DATA 087H
TCON   DATA 088H
TMOD   DATA 089H
TL0    DATA 08AH
TL1    DATA 08BH
TH0    DATA 08CH
TH1    DATA 08DH
IE     DATA 0A8H
IP     DATA 0B8H
S0CON  DATA 098H
S0BUF  DATA 099H
S1CON  DATA 0D8H
S1STA  DATA 0D9H
S1DAT  DATA 0DAH
S1ADR  DATA 0DBH
;
;  BIT Registers  
;  PSW  
CY    BIT 0D7H
AC    BIT 0D6H
F0    BIT 0D5H
RS1   BIT 0D4H
RS0   BIT 0D3H
OV    BIT 0D2H
F1    BIT 0D1H
P     BIT 0D0H
;
;  TCON  
TF1   BIT 08FH
TR1   BIT 08EH
TF0   BIT 08DH
TR0   BIT 08CH
IE1   BIT 08BH
IT1   BIT 08AH
IE0   BIT 089H
IT0   BIT 088H
;
;  IE  
EA    BIT 0AFH
ES1   BIT 0ADH
ES0   BIT 0ACH
ET1   BIT 0ABH
EX1   BIT 0AAH
ET0   BIT 0A9H
EX0   BIT 0A8H
;
;  IP  
PS1   BIT 0BDH
PS0   BIT 0BCH
PT1   BIT 0BBH
PX1   BIT 0BAH
PT0   BIT 0B9H
PX0   BIT 0B8H
;
;  P0  
AD7   BIT 087H
AD6   BIT 086H
AD5   BIT 085H
AD4   BIT 084H
AD3   BIT 083H
AD2   BIT 082H
AD1   BIT 081H
AD0   BIT 080H
;
;  P1  
SDA   BIT 097H
SCL   BIT 096H
;             
;  P3  
RD    BIT 0B7H
WR    BIT 0B6H
T1    BIT 0B5H
T0    BIT 0B4H
INT1  BIT 0B3H
INT0  BIT 0B2H
TXD   BIT 0B1H
RXD   BIT 0B0H
;
;  S0CON  
SM0   BIT 09FH
SM1   BIT 09EH
SM2   BIT 09DH
REN   BIT 09CH
TB8   BIT 09BH
RB8   BIT 09AH
TI    BIT 099H
RI    BIT 098H
;
; S1CON 
CR2   BIT 0DFH
ENS1  BIT 0DEH
STA   BIT 0DDH
STO   BIT 0DCH
SI    BIT 0DBH
AA    BIT 0DAH
CR1   BIT 0D9H
CR0   BIT 0D8H
$RESTORE