On 8/6/2013 11:57 AM, John Parke wrote:
Hi:
I am having a problem passing a parm from an Assembler program to a Metal-C
created Assembler routine. The main Assembler routine is loading R1 with the
address of the parameter list and then branching to the Metal-C routine. The
Metal-C routine abends with an 0C4. When I look to where R1 is pointing in the
dump, it appears to be where a program would pick up a parm if executed in
batch; i.e, parm=’someparm.’ But the C program is not a “main� program.
Can anybody point me in the right direction? I have read the manual repeatedly
and can’t see where I am going wrong.
I appreciate any help.
John
Well, it would help to see more of your code.
Precision matters here: R1 should point to an address that
points to the parm data. Is that how you are doing it (your
post implies otherwise)?
-Steve Comstock