Keil Logo

D. Predefined Symbols

The A166 Macro Assembler knows most of the SFR names, which are predefined names, often referred to as "system names." Predefined names can be turned off with the NOMOD166 directive. If NOMOD166 is given, the user must include a file containing the system name definitions for SFRs and possibly for system bits.

Predefined SFR names and PEC channels are shown in the table below:

Predefined SFR Names and PEC Channels
ADCIC
ADCON
ADDAT
ADEIC
CAPREL
CC0
CC0IC
CC1
CC10
CC10IC
CC11
CC11IC
CC12
CC12I
CCC13
CC13I
CCC14
CC14IC
CC15
CC15I
CCC1IC
CC2
CC2IC
CC3
CC3IC
CC4
CC4IC
CC5
CC5IC
CC6
CC6IC
CC7
CC7IC
CC8
CC8IC
CC9
CC9IC
CCM0
CCM1
CCM2
CCM3
CP
CRI
CCSP
DP0
DP1
DP2
DP3
DP4
DPP0
DPP1
DPP2
DPP3
DSTP0
DSTP1
DSTP2
DSTP3
DSTP4
DSTP5
DSTP6
DSTP7
MDC
MDH
MDL
ONES
P0
P1
P2
P3
P4
P5
PECC0
PECC1
PECC2
PECC3
PECC4
PECC5
PECC6
PECC7
PSW
S0BG
S0CON
S0EIC
S0RBUF
S0RIC
S0TBUF
S0TIC
S1BG
S1CON
S1EIC
S1RBUF
S1RIC
S1TBUF
S1TIC
SP
SRCP0
SRCP1
SRCP2
SRCP3
SRCP4
SRCP5
SRCP6
SRCP7
STKOV
STKUN
SYSCON
T0
T01CON
T0IC
T0REL
T1
T1IC
T1REL
T2
T2CON
T2IC
T3
T3CON
T3IC
T4
T4CON
T4IC
T5
T5CON
T5IC
T6
T6CON
T6IC
TFR
WDT
WDTCON
ZEROS

 

Predefined Bit Names
ADBSY
ADCH
ADCIE
ADCIR
ADEIE
ADEIR
ADM
ADST
BTYP
BYT
DISC
CC0IE
CC0IR
CC10IE
CC10IR
CC11IE
CC11IR
CC12IE
CC12IR
CC13IE
CC13IR
CC14IE
CC14IR
CC15IE
CC15IR
CC1IE
CC1IR
CC2IE
CC2IR
CC3IE
CC3IR
CC4IE
CC4IR
CC5IE
CC5IR
CC6IE
CC6IR
CC7IE
CC7IR
CC8IE
CC8IR
CC9IE
CC9IR
CI
CLKEN
CRIE
CRIR
E
IEN
ILLBUS
ILLINA
ILLOPA
ILVL
MCTC
MDRIU
MTTC
MULIP
N
NMI
PRTFLT
RDYEN
ROMEN
RWDC
S0EIE
S0EIR
S0FE
S0FEN
S0M
S0OE
S0OEN
S0PE
S0PEN
REN
S0RIE
S0RIR
S0STP
S0TIE
S0TIR
S1EIE
S1EIR
S1FE
S1FEN
S1M
S1OE
S1OEN
S1PE
S1PEN
S1REN
S1RIE
S1RIR
S1STP
S1TIE
S1TIR
SGTDIS
STKOF
STKUF
T0IE
T0IR
T0M
T0R
T1IE
T1IR
T1M
T1R
T2I
T2IE
T2IR
T2M
T2R
T2UD
T3I
T3IE
T3IR
T3M
T3OE
T3OTL
T3R
T3UD
T3UDE
T4I
T4IE
T4IR
T4M
T4R
T4UD
T5CLR
T5I
T5IE
T5IR
T5M
T5R
T5SC
T5UD
T6I
T6IE
T6IR
T6OE
T6OTL
T6R
T6SR
T6UD
UNDOPC
USR0
V
WDTIN
WDTR
WDTREL
Z
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.