try another color:
try another fontsize: 60% 70% 80% 90%

Subroutine in assmebler language

Subroutine in assmebler language

I am new to assembler language. In REXX, I pass parameters to a function and get the return values. Example:

Code:
parse value MyFunc(Q1_Inp1, Q1_Inp2, Q1_Inp3) with,
Q1_Out1 Q1_Out2 Q1_Out3 Q1_Out4
.....
.....
parse value MyFunc(Q2_Inp1, Q2_Inp2, Q2_Inp3) with,
Q2_Out1 Q2_Out2 Q2_Out3 Q2_Out4
.....
.....
Exit

MyFunc: Procedure
parse arg Inp1, Inp2, Inp3
.....
.....
Return Out1 Out2 Out3

I know how to branch to the subroutine using BAL. How do I pass input/output parameters (either character or packed decimal) between the subroutine and main program in assembler language?