M68ICS05KJ Freescale Semiconductor, M68ICS05KJ Datasheet - Page 67

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.5 ASSEMBLER OPTIONS
The CASM05W assembler supports all Motorola opcode mnemonics in the command set. For
descriptions of the debugging commands, see Chapter 7, ICS05KJW Debugging Command Set.
5.5.1 Operands and Constants
Operands are addresses, labels, or constants, as defined by the opcode. Assembly-time arithmetic
is allowed within operands. Such arithmetic may use these operations:
Operator precedence follows algebraic rules. You may use parentheses to alter precedence. If
your expression contains more than one operator, parenthesis, or embedded space, you must put
the entire expression inside braces ( { } ).
Constants are specific numbers in assembly-language commands. The default base for constants
is hexadecimal, but you may change the default using the Change Base Address dialogs for the
Memory and Code windows. To temporarily override the default base, use either the appropriate
prefix or suffix (Table 5-1), but not both.
The assembler also accepts ASCII constants. Specify an ASCII constant by enclosing it in single
or double quotes. A character ASCII constant has an equivalent value: ‘A’ is the same as 41H.
An example of a string constant is:
M68ICS05KJOM/D
db “this is a string”
*
/
+
-
<
>
%
&
|
^
jmp start
jmp start+3
jmp (start > 2)
Opcodes mnemonics cannot start in column one. If a label begins
the line, there must be at least one space between the label and the
opcode.
multiplication
division
addition
subtraction
left shift
right shift
remainder after division
bitwise and
bitwise or
bitwise xor
;start is a previously defined label
;jump to location start + 3
;jump to location start divided by 4
NOTE
ASSEMBLER INTERFACE
5-7

Related parts for M68ICS05KJ