Something that slipped by me a while back is that LLILL and LLILH are
"Grande" instructions.  There are no equivalents that operate on 32-bit
registers.

These are very useful instructions, but if you use them, you're obligated
to save and restore the high-words of your caller's registers..

For signed-fullword immediate instructions, 32-bit versions are provided
(e.g. AFI / AGFI, LHI / LGHI).  There's no LFI by name, but IILF is the
same thing..

sas


On Fri, Oct 21, 2016 at 11:35 AM, Tony Harminc <[email protected]> wrote:

> 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
>



-- 
sas

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

Reply via email to