Next: D10V-Addressing, Previous: D10V-Chars, Up: D10V-Syntax
You can use the predefined symbols ‘r0’ through ‘r15’ to refer to the D10V registers. You can also use ‘sp’ as an alias for ‘r15’. The accumulators are ‘a0’ and ‘a1’. There are special register-pair names that may optionally be used in opcodes that require even-numbered registers. Register names are not case sensitive.
Register Pairs
r0-r1r2-r3r4-r5r6-r7r8-r9r10-r11r12-r13r14-r15The D10V also has predefined symbols for these control registers and status bits:
pswbpswpcbpcrpt_crpt_srpt_emod_smod_eibaf0f1c