English
Language : 

MC68HC908GT16_07 Datasheet, PDF (251/292 Pages) Freescale Semiconductor, Inc – Microcontrollers
Monitor Module (MON)
Table 19-4. 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
HIGH
HIGH
LOW
ADDRESS
LOW
DATA
ECHO
DATA
Table 19-5. IREAD (Indexed Read) Command
Description
Operand
Data Returned
Opcode
Read next 2 bytes in memory from last address accessed
None
Returns contents of next two addresses
$1A
Command Sequence
FROM HOST
IREAD
IREAD
DATA
DATA
ECHO
RETURN
A sequence of IREAD or IWRITE commands can access a block of memory sequentially over the full
64-Kbyte memory map.
Table 19-6. READSP (Read Stack Pointer) Command
Description
Operand
Data Returned
Opcode
Reads stack pointer
None
Returns incremented stack pointer value (SP + 1) in high-byte:low-byte order
$0C
Command Sequence
FROM HOST
READSP READSP
ECHO
SP
HIGH
SP
LOW
RETURN
MC68HC908GT16 • MC68HC908GT8 • MC68HC08GT16 Data Sheet, Rev. 5.0
Freescale Semiconductor
251