beautypg.com

Assembler rules, Instruction, Directive – Zilog Z8F0130 User Manual

Page 309: Case sensitivity

background image

UM013037-1212

Assembler Rules

Zilog Developer Studio II – Z8 Encore!

User Manual

285

See the

Labels

section on page 332 and the

Hexadecimal Numbers

section on page 291 for

more information.

Instruction

An instruction contains one valid assembler instruction that consists of a mnemonic and its
arguments. When an instruction is in the first column, it is treated as an instruction and not
a label. Use commas to separate the operands. Use a semicolon or carriage return to termi-
nate the instruction. For more information about Z8 Encore! CPU instructions, see the eZ8
CPU Instruction Set Description
section of the

eZ8 CPU User Manual (UM0128)

.

Directive

A directive tells the assembler to perform a specified task. Use a semicolon or carriage
return to terminate the directive. Use spaces or tabs to separate the directive from its oper-
ands. See the

Directives

section on page 294 for more information.

Case Sensitivity

In the default mode, the assembler treats all symbols as case-sensitive. Select the

Ignore

Case of Symbols

checkbox of the

General

page in the

Project Settings

dialog box to

invoke the assembler and ignore the case of user-defined identifiers (see the

Ignore Case

of Symbols

section on page 71). Assembler reserved words are not case-sensitive.

Assembler Rules

The following sections describe the assembler rules:

Reserved Words

– see page 285

Assembler Numeric Representation

– see page 287

Character Strings

– see page 287

Reserved Words

The following list contains reserved words that the assembler uses. You cannot use these
words as symbol names or variable names. Also, reserved words are not case-sensitive.

.align

.ascii

.asciz

.ASECT

.ASG

.assume

.bes

.block

.bss

.byte

.copy

.data

.def

.ELIF

.ELSE

.ELSEIF

.emsg

.ENDIF

.ENDM

.ENDMAC

.ENDMACRO

.ENDSTRUCT

.ENDWITH

.EQU

.ER

.even

.extern

.FCALL

.file

.FRAME

.global

.IF

.include

.int

.LIST