Viiteparam.
(jatk)
(1)
parX
EQU
-4 ; relative to FP
parY
EQU
-3
parpZ
EQU
-2 ; call-by-ref
procB
PUSH
SP, R1 ; save R1
LOAD R1, parX (FP)
MUL
R1, =5
ADD
R1, parY (FP)
STORE R1, @parpZ (FP)
POP
SP, R1; restore R1
EXIT
SP, =3 ; 3 param.
vparam pZ
FP
vanha R1
ks. procB.k91
SP