Freescale Semiconductor Motorola MMDS0508 Operation Manual page 109

Motorola modular development system
Table of Contents

Advertisement

ASM
NOTE:
MMDS0508OM/D
MOTOROLA
Freescale Semiconductor, Inc.
Assemble Instructions
The ASM command assembles M68HC05 Family or M68HC08 Family
instruction mnemonics and places the resulting machine code into
memory at a specified address.
The command displays the specified address, its contents, and a prompt
for an instruction. As each instruction is entered, the command
assembles the instruction, stores and displays the resulting machine
code, and displays the contents of the next memory location with a
prompt for another instruction. To terminate the command, enter a
period (.).
Syntax:
ASM [< address >]
Where:
<address >
An address at which the assembler places the
first machine code generated. If < address > is
not specified, the system checks the address
used by the previous ASM command, then uses
the following address for this ASM command.
Examples:
The first example shows the ASM command with an address argument:
>asm 100
01009D NOP>CLRA
01004F CLRA
01019D NOP>.
The second example shows the ASM command with no argument:
>ASM
01019D NOP>STA 0A
0101B70ASTA0A
01039D NOP>.
Changes made to code via this command cannot be saved to an
S-record file or to a source code file. This command should be used only
to create and modify code to be run during the current debug session.
Command-Line Commands
For More Information On This Product,
Go to: www.freescale.com
Command-Line Commands
Command Explanations
ASM
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmds0508

Table of Contents