![Freescale Semiconductor M68HC12A4EVB Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/freescale-semiconductor/m68hc12a4evb/m68hc12a4evb_user-manual_2330718044.webp)
User’s Manual
M68HC12A4EVB Evaluation Board — Rev. 1
44
Operation
MOTOROLA
Operation
ASM
Assemble Instructions
Syntax:
ASM <
Address>
Where:
<
Address>
is a 16-bit hexadecimal number.
The assembler/disassembler is an interactive memory editor that allows
memory contents to be viewed and altered using assembly language
mnemonics. Each entered source line is translated into object code and placed
into memory at the time of entry. When displaying memory contents, each
instruction is disassembled into its source mnemonic form and displayed along
with the hexadecimal object code and any instruction operands.
Assembler mnemonics and operands may be entered in any mix of upper- and
lower-case letters. Any number of spaces may appear between the assembler
prompt and the instruction mnemonic or between the instruction mnemonic and
the operand. Numeric values appearing in the operand field are interpreted as
signed decimal numbers. Placing a $ in front of any number will cause the
number to be interpreted as a hexadecimal number.
When an instruction is disassembled and displayed, the D-Bug12 prompt is
displayed following the disassembled instruction. If a carriage return is the first
non-space character entered following the prompt, the next instruction in
memory is disassembled and displayed on the next line.
If a CPU12 instruction is entered following the prompt, the entered instruction
is assembled and placed into memory. The line containing the new entry is
erased and the new instruction is disassembled and displayed on the same line.
The next instruction location is then disassembled and displayed on the screen.
The instruction mnemonics and operand formats accepted by the assembler
follows the syntax as described in the CPU12 Reference Manual, Motorola
document order number CPU12RM/AD.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..
AR
CH
IVE
D B
Y F
RE
ES
CA
LE
SE
MI
CO
ND
UC
TO
R,
IN
C.