1		ifndef  stddef5xinc     ; avoid multiple inclusion
2stddef5xinc     equ     1
3
4		save
5		listing off		; no listing over this file
6
7;****************************************************************************
8;*                                                                          *
9;*   AS 1.42 - File STDDEF2X.INC                                            *
10;*   								            *
11;*   Contains Global Register Definitions for TMS320C5x Processors          *                                           *
12;*                                                                          *
13;****************************************************************************
14
15                if      (MOMCPU<>3279952) && (MOMCPU<>3279953) && (MOMCPU<>3279955)
16		 fatal  "wrong target selected: only 320C50, 320C51 und 320C53 supported"
17		endif
18
19                if      MOMPASS=1
20		 message "TMS320C5x Register Definitions (C) 1995 Thomas Sailer"
21		endif
22
23;----------------------------------------------------------------------------
24		segment	data
25
26		org	4
27                ;Core Processor Memory Mapped Registers
28IMR             res     1
29GREG            res     1
30IFR             res     1
31PMST            res     1
32RPTC            res     1
33BRCR            res     1
34PASR            res     1
35PAER            res     1
36TREG0           res     1
37TREG1           res     1
38TREG2           res     1
39DBMR            res     1
40AR0             res     1
41AR1             res     1
42AR2             res     1
43AR3             res     1
44AR4             res     1
45AR5             res     1
46AR6             res     1
47AR7             res     1
48INDX            res     1
49ARCR            res     1
50CBSR1           res     1
51CBER1           res     1
52CBSR2           res     1
53CBER2           res     1
54CBCR            res     1
55BMAR            res     1
56
57                org     32
58                ;Peripherial memory mapped registers
59DRR		res	1
60DXR		res	1
61SPC             res     1
62
63                org     36
64TIM             res     1
65PRD             res     1
66TCR             res     1
67
68                org     40
69PDWSR           res     1
70IOWSR           res     1
71CWSR            res     1
72
73                org     48
74TRCV            res     1
75TDXR            res     1
76TSPC            res     1
77TCSR            res     1
78TRTA            res     1
79TRAD            res     1
80
81                org     80
82PA0             res     1
83PA1             res     1
84PA2             res     1
85PA3             res     1
86PA4             res     1
87PA5             res     1
88PA6             res     1
89PA7             res     1
90PA8             res     1
91PA9             res     1
92PA10            res     1
93PA11            res     1
94PA12            res     1
95PA13            res     1
96PA14            res     1
97PA15            res     1
98
99
100;---------------------------------------------------------------------------
101
102                restore                 ; allow listing again
103
104                endif			; stddef5xinc
105
106