Subversion Repositories pentevo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1126 savelij 1
		ifndef	__stm8cpuregsinc	; avoid multiple inclusion
2
__stm8cpuregsinc	equ	1
3
 
4
		save
5
		listing	off		; no listing over this file
6
 
7
;****************************************************************************
8
;*                                                                          *
9
;*   AS 1.42 - File CPUREGS.INC                                             *
10
;*                                                                          *
11
;*   contains SFR and Bit Definitions for Memory Mapping of STM8 CPU Regs   *
12
;*                                                                          *
13
;****************************************************************************
14
 
15
__defcpuregs 	macro	Base
16
REG_A		label	Base+$00	; Register A
17
REG_PCE		label	Base+$01	; Register PCE
18
REG_PCH		label	Base+$02	; Register PCH
19
REG_PCL		label	Base+$03	; Register PCL
20
REG_XH		label	Base+$04	; Register XH
21
REG_XL		label	Base+$05	; Register XL
22
REG_YH		label	Base+$06	; Register YH
23
REG_YL		label	Base+$07	; Register YL
24
REG_SPH		label	Base+$08	; Register SPH
25
REG_SPL		label	Base+$09	; Register SPL
26
REG_CCR		label	Base+$0a	; Register CCR
27
CFG_CGR		label	Base+$60	; Global configuration register
28
		endm
29
 
30
		restore
31
		endif			; __stm8cpuregsinc