M68ICS05KJ Freescale Semiconductor, M68ICS05KJ Datasheet - Page 70

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
ASSEMBLER INTERFACE
5.6.3 Conditional Assembly
The CASM05W assembler allows you to specify blocks of code to be assembled only upon
certain conditions. To set up such conditional assembly procedures, use the conditional
assembler directives summarized in Table 5.2.
Example of Conditional Assembly Directives
5.6.4 INCLUDE
If the CASM05W assembler encounters the INCLUDE directive, it takes source code from the
specified file and continues until it encounters another INCLUDE directive or until it reaches the
end of the main file. When the assembler reaches the end of the main file, it continues taking
source code from the file that contained the include directive.
The file specification of the INCLUDE directive must be in either single or double quotes. If the
file is not in the current directory, the specification should also include the full path name as well
as the filename.
You may nest included to a maximum depth of 10, that is, each included file may contain up to 10
additional included files.
Examples
5-10
$INCLUDE “INIT.ASM”
$INCLUDE “C:\project\init.asm*"
$SET debug
$SETNOT test
nop
nop
$IF debug
jmp start
$ELSEIF
jmp end
$ENDIF
nop
nop
$IF test
jmp test
$ENDIF
;
;
;sets debug = true
;sets test = false
;always assembles
;always assembles
;if debug = true
;assembles
;if debug = false
;does not assemble
;always assembles
;always assembles
;if test = true
;does not assemble
M68ICS05KJOM/D

Related parts for M68ICS05KJ