M68ICS05KJ Freescale Semiconductor, M68ICS05KJ Datasheet - Page 75

no-image

M68ICS05KJ

Manufacturer Part Number
M68ICS05KJ
Description
SIM PROGRAM FOR 68HC705KJ/J1A
Manufacturer
Freescale Semiconductor
Type
Simulator/Programmerr
Datasheet

Specifications of M68ICS05KJ

Contents
Programmer, Power Supply, Assembler/Simulator/Debugger, Cable, Software and Documentation
For Use With/related Products
68HC705KJ/JIA
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
5.8 PSEUDO OPERATIONS
The CASM05W assembler also allows pseudo operations (in place of opcode mnemonics). The
operations that the assembler allows are summarized in Table 5-5.
equ
fcb m
or
db m
fdb n
or
dw n
org n
rmb n or ds n
5.8.1 Equate (EQU)
The equate directive associates a binary value with a label. The value may be either an 8-bit
value or a 16-bit address value. This directive does not generate any object code.
During the assembly process, the assembler must keep a cross-reference list where it stores the
binary equivalent of each label. When a label appears in the source program, the assembler looks
in this cross-reference table to find the binary equivalent. Each EQU directive generates an entry
in this cross-reference table.
An assembler reads the source program twice. On the first pass, the assembler just counts bytes
of object code and internally builds the cross-reference table. On the second pass, the assembler
generates the listing file and/or the S-record object file, as specified in the command line
parameters for the assembler. This two-pass arrangement allows the programmer to reference
labels that are defined later in the program.
M68ICS05KJOM/D
Pseudo Op Code
Table 5-5. Pseudo Operations Allowed by the CASM05W
Associates a binary value with a label.
Defines byte storage, where m = label, number, or string. Strings
generate ASCII code for multiple bytes; number and label parameters
receive single bytes.
Separate multiple parameters with commas.
Defines word storage, where n = label, number, or string. Two bytes
are generated for each number or label.
Separate multiple parameters with commas.
Sets the origin to the value of the number or label n. No forward
references of n are allowed.
Defines storage, reserving n bytes, where n = number or label; no
forward references of n are allowed.
Action
ASSEMBLER INTERFACE
5-15

Related parts for M68ICS05KJ