English
Language : 

MC908KX2MDWE Datasheet, PDF (179/210 Pages) Freescale Semiconductor, Inc – High-performance M68HC08 architecture, Fully upward-compatible object code with M6805, M146805, and M68HC05 Families
Monitor ROM (MON)
A brief description of each monitor mode command is given in Table 16-4 through Table 16-9.
Table 16-4. READ (Read Memory) Command
Description
Operand
Data Returned
Opcode
Read byte from memory
2-byte address in high-byte:low-byte order
Returns contents of specified address
$4A
Command Sequence
SENT TO MONITOR
READ
READ
ADDRESS ADDRESS ADDRESS ADDRESS
HIGH
HIGH
LOW
LOW
ECHO
DATA
RETURN
Table 16-5. WRITE (Write Memory) Command
Description
Operand
Data Returned
Opcode
FROM HOST
Write byte to memory
2-byte address in high-byte:low-byte order; low byte followed by data byte
None
$49
Command Sequence
WRITE
WRITE
ADDRESS ADDRESS ADDRESS ADDRESS
HIGH
HIGH
LOW
LOW
DATA
ECHO
DATA
Table 16-6. IREAD (Indexed Read) Command
Description
Operand
Data Returned
Opcode
Read next 2 bytes in memory from last address accessed
2-byte address in high byte:low byte order
Returns contents of next two addresses
$1A
Command Sequence
FROM HOST
IREAD
IREAD
DATA
DATA
ECHO
RETURN
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
Freescale Semiconductor
179