beautypg.com

Readsp (read stack pointer) command, Run (run user program) command, Table 10-8. run (run user program) command – Freescale Semiconductor MC68HC08KH12 User Manual

Page 158

background image

Advance Information

MC68HC(7)08KH12

Rev. 1.1

158

Freescale Semiconductor

NOTE:

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

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

Description

Reads stack pointer

Operand

None

Data Returned

Returns stack pointer in high byte:low byte order

Opcode

$0C

Command Sequence

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

Description

Executes RTI instruction

Operand

None

Data Returned

None

Opcode

$28

Command Sequence

SP HIGH

READSP

READSP

SP LOW

ECHO

SENT TO

MONITOR

RESULT

RUN

RUN

ECHO

SENT TO

MONITOR