On 21 October 2016 at 10:48, Charles Mills <[email protected]> wrote:
> Got it! Thanks all. I will add a comment where I use it.

Also a good place (well, everywhere is a good place) to be using HLASM's
TYPECHECK(REGISTER) option, which is anyway the default. Not that it
replaces a comment, but the mere fact that you are using a register name
like G4 or GR4 or whatever rather than R4 tends to make the point when
reading the code. And if you fail to do so...

  Loc    Object Code      Addr1    Addr2    Stmt  Source Statement
                        00000004               1 G4       EQU    4,,,,GR64
                        00000004               2 R4       EQU    4,,,,GR32
00000000 C04F 0000 3039          00000000      4          LLILF  G4,12345
00000006 C04F 0000 3039          00000000      5          LLILF  R4,12345
** ASMA323W Symbol R4 has incompatible type with general register field


Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to