Table 18-8, Table 18-7. readsp (read stack pointer) command, Table 18-8. run (run user program) command – Freescale Semiconductor MC68HC908MR32 User Manual

Page 262

Advertising
background image

Development Support

MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1

262

Freescale Semiconductor

A sequence of IREAD or IWRITE commands can access a block of memory sequentially over the full
64-Kbyte memory map.

Table 18-6. IWRITE (Indexed Write) Command

Description

Write to last address accessed + 1

Operand

Single data byte

Data Returned

None

Opcode

$19

Command Sequence

Table 18-7. READSP (Read Stack Pointer) Command

Description

Reads stack pointer

Operand

None

Data Returned

Returns incremented stack pointer value (SP + 1) in high-byte:low-byte order

Opcode

$0C

Command Sequence

Table 18-8. RUN (Run User Program) Command

Description

Executes PULH and RTI instructions

Operand

None

Data Returned

None

Opcode

$28

Command Sequence

IWRITE

IWRITE

ECHO

DATA

DATA

FROM HOST

READSP

READSP

ECHO

FROM HOST

SP

RETURN

SP

HIGH

LOW

RUN

RUN

ECHO

FROM HOST

Advertising
This manual is related to the following products: