Chapter 8 Writing Source Statements
144 Reserved Words
8.8 Reserved Words
The assembler gives special meanings to the symbols listed below, so they cannot be used for other
purposes. These symbols are called reserved words.
Either all upper-case or all lower-case letters may be used to code reserved words, but they cannot be
mixed within one reserved word.
Machine language instruction mnemonics
Port names
Register names
Address constants
• Directives
Assembler control instructions
Macro control instructions
Except for machine language instruction mnemonics and port names, the reserved words are listed
below.
Register name d0, d1, d2, d3, a0, a1,a2, a3, PSW, mdr, sp
Address constants a
Directives align, dc, ds, dw, end, equ, global, listoff,
liston, xlistoff, xliston, notation, org, opt,
page, radix, section, tit, funcinfo, assign
Assembler control
instructions define, if, ifb, ifdef, ifeq, ifge, ifgt, ifle,
iflt, ifn, ifnb, ifndef, ifneq, include, undef
Macro control
instructions endm, exitm, irp, irpc, local, macro, purg, rept