677
Subroutines Section 3-18
2. The second MCRO(099) instruction passes the input data in CIO 200 to
CIO 203 and executes the subroutine. When the subroutine is completed,
the output data is stored in CIO 400 to CIO 403.
The second MCRO(099) instruction operates in the same way, but the input
data in CIO 200 to CIO 203 is passed to A600 to A603 and the output data in
A604 to A607 is passed to CIO 400 to CIO 403.
D: 300
D+1: 301
D+2: 302
D+3: 303
A604
A605
A606
A607
1
1
1
0.00
A600.01
A601.02
A604.03
S: 100
S+1: 101
S+2: 102
S+3: 103
Input
Output
Subroutine 1
Output data is passed when
returning from the subroutine.
Macro area output word