home *** CD-ROM | disk | FTP | other *** search
- ;
- ; --------------------------------------------------
- ; Processer SFR register names.
- ;
- P0 .EQU 080H ; Port 0
- P1 .EQU 090H ; Port 1
- P2 .EQU 0A0H ; Port 2
- P3 .EQU 0B0H ; Port 3
- ;
- SP .EQU 81H ; Stack Pointer.
- PSW .EQU 0D0H ; Prog. Status Word.
- DPL .EQU 82H ; DPTR low byte.
- DPH .EQU 83H ; DPTR high byte.
- ;SCON .EQU 98H ; Serial control register.
- ;SBUF .EQU 99H ; Serial output buffer.
- TCON .EQU 88H ; Timer control register.
- TMOD .EQU 89H ; Timer operation mode register.
- ;***TL0 .EQU 8AH ; Timer Setting.
- ;***TH0 .EQU 8CH ; Timer count.
- TL1 .EQU 8BH ; Timer Setting.
- TH1 .EQU 8DH ; Timer count.
- ;
- ;***PCON .EQU 87H ; Control Register Address.
- IE .EQU 0A8H ; Interrupt select.
- IP .EQU 0B8H ; Int Priority Reg..
- ;***SMOD .EQU 80H ; Serial divide by 2 bit.
- ;
- B .EQU 0F0H ; B aux register..
- AR .EQU 0E0H ; For PUSH A / POP A
- RR0 .EQU 00H
- RR1 .EQU 01H
- RR2 .EQU 02H
- RR3 .EQU 03H
- RR4 .EQU 04H
- RR5 .EQU 05H
- RR6 .EQU 06H
- RR7 .EQU 07H
-