OpenBoot 2.x Quick Reference

SPARC Register Commands

Table 1-10 SPARC Register Commands

%f0 through %f31

( -- value ) 

Return the value in the given floating point register. 

%fsr

( -- value ) 

Return the value in the given floating point register. 

%g0 through %g7

( -- value ) 

Return the value in the given register. 

%i0 through %i7

( -- value ) 

Return the value in the given register. 

%L0 through %L7

( -- value ) 

Return the value in the given register. 

%o0 through %o7

( -- value ) 

Return the value in the given register. 

%pc %npc %psr

( -- value ) 

Return the value in the given register. 

%y %wim %tbr

( -- value ) 

Return the value in the given register. 

.fregisters

( -- ) 

Display values in %f0 through %f31. 

.locals

( -- ) 

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

.psr

( -- ) 

Formatted display of the %psr data. 

.registers

( -- ) 

Display values in %g0 through %g7, plus %pc, %npc, %psr, %y, %wim, %tbr. 

.window

( window# -- ) 

Display the desired window. 

ctrace

( -- ) 

Display the return stack showing C subroutines. 

set-pc

( value -- ) 

Set %pc to the given value, and set %npc to (value+4). 

to regname

( value -- ) 

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

w

( window# -- ) 

Set the current window for displaying %ix %Lx or %ox.