M68ICS05C Freescale Semiconductor, M68ICS05C Datasheet - Page 71

no-image

M68ICS05C

Manufacturer Part Number
M68ICS05C
Description
SIM PROGRAM FOR 68HC705C8A/C9A
Manufacturer
Freescale Semiconductor
Type
Simulator/Programmerr
Datasheet

Specifications of M68ICS05C

Contents
Programmer, Power Supply, Assembler/Simulator/Debugger, Cable, Software and Documentation
For Use With/related Products
68HC705C8A/C9A
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
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
M68ICS05COM/D
$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
ASSEMBLER INTERFACE
5-11

Related parts for M68ICS05C