Read (read memory) command, Write (write memory) command – Freescale Semiconductor MC68HC08KH12 User Manual

Page 156

Advertising
background image

Advance Information

MC68HC(7)08KH12

Rev. 1.1

156

Freescale Semiconductor

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

ADDR. HIGH

READ

READ

ADDR. HIGH

ADDR. LOW

ADDR. LOW

DATA

ECHO

SENT TO

MONITOR

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

ADDR. HIGH

WRITE

WRITE

ADDR. HIGH

ADDR. LOW

ADDR. LOW

DATA

ECHO

SENT TO

MONITOR

DATA

Advertising