English
Language : 

MC68HC908LB8_05 Datasheet, PDF (217/234 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Monitor Module (MON)
A brief description of each monitor mode command is given in Table 19-3 through Table 19-8.
Table 19-3. READ (Read Memory) Command
Description Read byte from memory
Operand 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
ADDRESS ADDRESS ADDRESS ADDRESS
HIGH
HIGH
LOW
LOW
DATA
ECHO
RETURN
Description
Operand
Data Returned
Opcode
FROM HOST
Table 19-4. WRITE (Write Memory) Command
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
DATA
ECHO
Description
Operand
Data Returned
Opcode
Table 19-5. IREAD (Indexed Read) Command
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
ECHO
IREAD
DATA
DATA
RETURN
MC68HC908LB8 Data Sheet, Rev. 1
Freescale Semiconductor
217