On Thu, 7 Nov 2019 20:49:14 +, Seymour J Metz wrote:
>The contents of R0 may be relevant, but not in the OP's context.
>As others have repeatedly pointed out, a base or index field of 0
>specifies a value of 0, not the contents of R0.
As documented in the Principles of Operation, page 2-4 of
The contents of R0 may be relevant, but not in the OP's context. As others have
repeatedly pointed out, a base or index field of 0 specifies a value of 0, not
the contents of R0. Further, unless you're, e.g., constructing page tables,
running DAT-off, prefixing is also irrelevant.
--
Shmuel (S
LA 1,1(0)
ST 1,AXNUM
AXRES AXLIST=AXL GET AN EAX FOR SERVICE1 (THE X
PC ROUTINE)
L4,AXVAL
FWIW, changing the L to a LH works fine in the example, even if AXVAL
happens to have its high bit
The example is trying to show how to set an EAX for a SETDEF macro.
There is no SETDEF macro. There isn't even a TYPE=SETDEF option on ETDEF.
There is TYPE=SET. The post looked like copy/paste so a typo like that
seemed surprising.
Everyone's right, of course, that the "ST" ought to be "STH"