Keil Logo

C. Reserved Words

Assembler-reserved words cannot be used for definition of user symbols. The following table shows these reserved words:

Directives and Operators
ASSUME
AT6
BIT3,4,6,8
BITADDRESSABLE6
BOF
BYTE3,4,6,8
BYTE0
BYTE1
BYTE2
BYTE3
BYTE4
BYTE5
BYTE6
BYTE7
CGROUP
CODE6
COMMON6
CONST6
DATA6
DATA33
DATA43
DATA83
DATA163
DATA32
DATA64
DB
DBIT
DBPTR
DD
DEFA
DEFB
DEFR
DF32
DF64
DGROUP
DPP0
DPP1
DPP2
DPP3
DPPTR
DS
DSB
DSD
DSPTR
DSW
DW
DWORD6
ELSE7
ELSEIF7
END
ENDIF7
ENDP
ENDS
EQ
EQU
EVEN
EXTERN
EXTRN
FAR3,4,8
GE
GLBUSRSTK6
GLOBAL6
GT
HCONST6
HDATA6
HIGH
IF7
INTNO3,5
LABEL
LE
LIT
LOW
LT
MOD
NAME
NE
NEAR3,4,8
NOT
NOTHING2
OR
ORG
PAG
PAGE6
PECADDRESSABLE6
PECC0
PECC1
PECC2
PECC3
PECC4
PECC5
PECC6
PECC7
PECDEF
POF
PRIVATE6
PROC
PTR
PUBLIC6
R1
REGBANK3
REGDEF
RW1
SECTION
SEG
SEGMENT6
SET
SHL
SHORT
SHR
SOF
SSKDEF
SYSSTACK6
SYSTEM2
TASK5
TYPEDEC
UGE
UGT
ULE
ULT
USING5
USRSTACK6
W1
WORD3,4,6,8
WORD0
WORD2
WORD4
WORD6
XCONST6
XDATA6
XOR
  1. Used with the DEFA, DEFB, and DEFR statements.
  2. Used with the ASSUME statement.
  3. Used with the EXTRN or EXTERN statements.
  4. Used with the LABEL statement.
  5. Used with the PROC statement.
  6. Used with the SECTION statement.
  7. Conditional statement and directive.
  8. Used with the PTR operator.

 

General-Purpose Registers
R0
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
R12
R13
R14
R15
RH0
RH1
RH2
RH3
RH4
RH5
RH6
RH7
RL0
RL1
RL2
RL3
RL4
RL5
RL6
RL7

 

Assembler Mnemonics and Condition Codes
ADD
ADDB
ADDC
ADDCB
ADDCW
ADDW
AND
ANDB
ANDW
ASHR
BAND
BCLR
BCMP
BFLDH
BFLDL
BMOV
BMOV
BMOVN
BOR
BSET
BXOR
CALL
CALLA
CALLI
CALLR
CALLS
CC_C
CC_EQ
CC_N
CC_NC
CC_NE
CC_NET
CC_NN
CC_NV
CC_NZ
CC_SGE
CC_SGT
CC_SLE
CC_SLT
CC_UC
CC_UGE
CC_UGT
CC_ULE
CC_ULT
CC_V
CC_Z
CMP
CMPB
CMPD1
CMPD2
CMPI1
CMPI2
CMPW
CPL
CPLB
CPLW
DISWDT
DIV
DIVL
DIVLU
DIVU
EINIT
IDLE
JB
JBC
JMP
JMPA
JMPI
JMPR
JMPS
JNB
JNBS
MOV
MOVB
MOVBS
MOVBZ
MOVW
MUL
MULU
NEG
NEGB
NEGW
NOP
OR
ORB
ORW
PCALL
POP
PRIOR
PUSH
PWRDN
RET
RETI
RETP
RETS
ROL
ROR
SCXT
SHL
SHR
SRST
SRVWDT
SUB
SUBB
SUBC
SUBCB
SUBCW
SUBW
TRAP
XOR
XORB
XORW

Related Knowledgebase Articles

  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.