English
Language : 

MC68HC908MR8 Datasheet, PDF (193/372 Pages) Motorola, Inc – Microcontrollers
Monitor ROM (MON)
Functional Description
10.4.7 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
Refer to Table 10-3 through Table 10-8.
Table 10-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 10-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
MC68HC908MR8 — Rev 4.1
Freescale Semiconductor
Monitor ROM (MON)
Technical Data
193