John, the point of this puzzle is how to avoid a wasted halfword; hence Friday.

Though, equally one could argue that HLASM has a design bug here:

00000000 00                                    1  dc x'00'
00000001                00000001 00000003      2  ORG  *,2,1

Had it done things right, it would *not* have done a halfword align followed by going to the offset (as the book says it must); it would have computed the composite required alignment and the noted that it was already there; and the generated code for this test program would have been a single byte (the DC in statement 1):

00000001                00000001 00000001      2  ORG  *,2,1

On 08/23/2016 07:52 AM, John Dravnieks wrote:
 ORG  *,2,1

Reply via email to