OpenBoot 3.x Command Reference Manual

SPARC Register Commands

Table I-52 SPARC Register Commands

Command  

Stack Diagram 

Description 

%g0 through %g7

( -- value ) 

Return the value in the specified global register. 

%i0 through %i7

( -- value ) 

Return the value in the specified input register. 

%l0 through %l7

( -- value ) 

Return the value in the specified local register. 

%o0 through %o7

( -- value ) 

Return the value in the specified output register. 

%pc %npc %y

( -- value ) 

Return the value in the specified register. 

%f0 through %f31

( -- value ) 

Return the value in the specified floating point register. 

.fregisters

( -- ) 

Display the values in %f0 through %f31.

.locals

( -- ) 

Display the values in the i, l and o registers.

.registers

( -- ) 

Display values in processor registers. 

.window

( window# -- ) 

Same as w .locals; display the desired window.

ctrace

( -- ) 

Display the return stack showing C subroutines. 

set-pc

( new-value -- ) 

Set %pc to new-value, and set %npc to (new-value+4).

to regname

( new-value -- ) 

Change the value stored in any of the above registers. Use in the form: new-value to regname.

w

( window# -- ) 

Set the current window for displaying %ix, %lx, or %ox.