SPARC Assembly Language Reference Manual

5.6 V8/V9 Natural Pseudo Instructions

Table 5–7 describes the V8/V9 natural pseudo instructions that will help increase the portability of your assembly code from V8/V8plus to V9.

Table 5–7

Pseudo Instructions  

-xarch= 

V8/V8plus [Indicates default setting]

V9 

ldn

ld 

ldx 

stn

st

stx 

ldna

lda 

ldxa 

stna

sta

stxa 

setn

set 

setx

setnhi 

sethi 

setxhi 

casn 

cas 

casx 

slln 

sll 

sllx 

srln 

srl 

srlx 

sran 

sra 

srax 

clrn 

clr 

clrx 


Note –

Depending on the value set for the -xarch option, the assembler substitutes the appropriate pseudo instruction.