English
Language : 

MC908JL3ECPE Datasheet, PDF (77/180 Pages) Freescale Semiconductor, Inc – Microcontrollers
7.3.6 Commands
The monitor ROM uses the following commands:
• READ (read memory)
• WRITE (write memory)
• IREAD (indexed read)
• IWRITE (indexed write)
• READSP (read stack pointer)
• RUN (run user program)
Table 7-4. 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
Functional Description
ECHO
READ
READ
ADDR. HIGH ADDR. HIGH ADDR. LOW ADDR. LOW
DATA
RESULT
Table 7-5. 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
MC68HC908JL3E Family Data Sheet, Rev. 4
Freescale Semiconductor
77