3.2.2 Subroutine Calls and Returns



Call Instructions

Mnemonic Format Unit Semantics Description
call sG ! if (r!=0) r.j = pc+6; pc = global ;nseq Call Subroutine
jsub sJ ! if (r!=0) r.j = pc+3; pc = s.n ;nseq Jump Subroutine via Register


Return Instruction

Mnemonic Format Unit Semantics Description
rte rJ ! pc = get_exception_pc(ctl); enable_interrupts();nseq Return from Exception