JS

JS n - Jump to subroutine

 

Operating Mode

                                   

Stack := Stack + 1

ds[Stack] := PC +1

PC := n

 

Description

 

Saves address of next command to stack and changes value of program counter to n

 

Binary Command

15 14 13 12 11

10 9 8 7 6 5 4 3 2 1 0

01110

n

Example

 

JS 52

15 14 13 12 11

10 9 8 7 6 5 4 3 2 1 0

01110

00000110100