CALL instruction of nedoRISC Core:
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 1 | 0 | 20-bit address of new program counter |
In user mode registers r5-r15 are shifted down CUR?+2 positions (SPILL? trap could be called if needed). New r15 got new PC value. New r14 got copy of old r14, but new PCHI? reflects new PC, PAR? got values of old CUR? and new CUR? is cleared.