|
MC68HC08AZ32A Datasheet, PDF (161/456 Pages) Motorola, Inc – HCMOS Microcontroller Unit | |||
|
◁ |
Freescale Semiconductor, Inc.
Monitor ROM (MON)
Functional description
11.4.4.1 Commands
The monitor ROM uses the following commands:
⢠READ (read memory)
⢠WRITE (write memory)
⢠IREAD (indexed read)
⢠IWRITE (indexed write)
⢠READSP (read stack pointer)
⢠RUN (run user program)
Table 11-3. READ (Read Memory) Command
Description
Read byte from memory
Operand
Specifies 2-byte address in high byte:low byte order
Data returned Returns contents of specified address
Opcode
$4A
Command sequence
SENT TO
MONITOR
READ
READ ADDR. HIGH ADDR. HIGH ADDR. LOW ADDR. LOW
DATA
ECHO
RESULT
Table 11-4. WRITE (Write Memory) Command
Description
Write byte to memory
Operand
Specifies 2-byte address in high byte:low byte order; low byte followed by data byte
Data returned None
Opcode
$49
Command sequence
SENT TO
MONITOR
WRITE
WRITE ADDR. HIGH ADDR. HIGH ADDR. LOW ADDR. LOW
DATA
DATA
ECHO
MC68HC08AZ32A â Rev 1.0
MOTOROLA
Monitor ROM (MON)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
161
|
▷ |