|
MC68HC08AS32 Datasheet, PDF (259/280 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs) | |||
|
◁ |
16.3.1.5 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
A sequence of IREAD or IWRITE commands can access a block of memory
sequentially over the full 64-Kbyte memory map.
Table 16-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 16-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
MC68HC08AS32 â Rev. 4.1
Freescale Semiconductor
Data Sheet
259
|
▷ |