Hitachi SH7760 Solution Engine2 Overview page 123

Table of Contents

Advertisement

(5) Display and change of register data
Before executing a program, set a stack point for the program loaded into memory in R15. Because R15 is
already set to h'AFFF0000,' make the following change if the stack pointer is to be placed in a different location.
Ready >RW R15 AFC00000
When register setting is complete, the monitor program displays information on all the registers and enters a
command prompt (command entry wait status).
Ready >RW R15 AFC00000
--General Registers-----------------------------------------------------------------------------------------------
R0-7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
R8-15 00000000 00000000 00000000 00000000 00000000 00000000 00000000 AFC 00000
--Bank Registers---------------------------------------------------------------------------------------------------
R0-7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
--Control Registers------------------------------------------------------------------------------------------------
SR = 60000090 SSR=60000090 SPC=00000000 GBR=00000000
VBR= 00000000 SGR=00000000 DBR=00000000
MD= 1 RB=1 BL=0 FD=0 M=0 Q=0 IMASK=0x9 S=0 T=0
--System Registers-----------------------------------------------------------------------------------------------
PC = 0C000000 PR =00000000 MACH=00000000 MACL=00000000
FPSCR= 00040001 FPUL=00000000
FR= 0 SZ=0 PR=0 DN=1 Cause=0x00 Enable=0x00 Flag=0x00 RM=0x1
--FPU Registers----------------------------------------------------------------------------------------------------
FR0-7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FR8-15 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
XF0-7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
XF8-15 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Ready >
120

Advertisement

Table of Contents
loading

Table of Contents