Table 18-3, Table 18-5. iread (indexed read) command – Freescale Semiconductor MC68HC908MR32 User Manual

Page 261

Advertising
background image

Monitor ROM (MON)

MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1

Freescale Semiconductor

261

Table 18-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

Table 18-4. WRITE (Write Memory) Command

Description

Write byte to memory

Operand

2-byte address in high-byte:low-byte order; low byte followed by data byte

Data Returned

None

Opcode

$49

Command Sequence

Table 18-5. IREAD (Indexed Read) Command

Description

Read next 2 bytes in memory from last address accessed

Operand

2-byte address in high byte:low byte order

Data Returned

Returns contents of next two addresses

Opcode

$1A

Command Sequence

READ

READ

ECHO

SENT TO MONITOR

ADDRESS

HIGH

ADDRESS

HIGH

ADDRESS

LOW

DATA

RETURN

ADDRESS

LOW

WRITE

WRITE

ECHO

FROM HOST

ADDRESS

HIGH

ADDRESS

HIGH

ADDRESS

LOW

ADDRESS

LOW

DATA

DATA

IREAD

IREAD

ECHO

FROM HOST

DATA

RETURN

DATA

Advertising
This manual is related to the following products: