English
Language : 

MC908AZ32ACFUE Datasheet, PDF (121/324 Pages) Freescale Semiconductor, Inc – Microcontrollers
Functional Description
12.3.5 Commands
The monitor ROM uses these commands:
• READ, read memory
• WRITE, write memory
• IREAD, indexed read
• IWRITE, indexed write
• READSP, read stack pointer
• RUN, run user program
A sequence of IREAD or IWRITE commands can access a block of memory sequentially over the full
64-Kbyte memory map.
Table 12-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 12-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
ECHO
WRITE
ADDR. HIGH ADDR. HIGH ADDR. LOW ADDR. LOW
DATA
DATA
MC68HC908AZ32A Data Sheet, Rev. 2
Freescale Semiconductor
121