Next: D30V-Addressing, Previous: D30V-Guarded, Up: D30V-Syntax [Contents][Index]
You can use the predefined symbols r0 through r63 to refer to the D30V registers. You can also use sp as an alias for r63 and link as an alias for r62. The accumulators are a0 and a1.
The D30V also has predefined symbols for these control registers and status bits:
pswProcessor Status Word
bpswBackup Processor Status Word
pcProgram Counter
bpcBackup Program Counter
rpt_cRepeat Count
rpt_sRepeat Start address
rpt_eRepeat End address
mod_sModulo Start address
mod_eModulo End address
ibaInstruction Break Address
f0Flag 0
f1Flag 1
f2Flag 2
f3Flag 3
f4Flag 4
f5Flag 5
f6Flag 6
f7Flag 7
sSame as flag 4 (saturation flag)
vSame as flag 5 (overflow flag)
vaSame as flag 6 (sticky overflow flag)
cSame as flag 7 (carry/borrow flag)
bSame as flag 7 (carry/borrow flag)