OpenBoot 3.x Quick Reference

SPARC(TM) Register Commands

Table 1-10 SPARC Register Commands

%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

( -- 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. 

.registers

( -- )

Display values in %g0 through %g7, plus some processor registers. 

.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 registers.