This is just a LG, just like L for 32-bits. It doesn't matter whether it's 
signed or unsigned. There's nowhere for a sign to be extended.

Robert Ngan
DXC Luxoft

-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of Dave Clark
Sent: Tuesday, February 1, 2022 10:39
To: [email protected]
Subject: Unsigned 64-bit numbers

        I previously asked about 32-bit unsigned numbers and that opened up 
some new instructions (new to me, anyway: LLGF, LLGH, etc) for loading unsigned 
numbers into registers.  But now I have need to load a 64-bit unsigned value 
into a register and I don't see an LLGD instruction for that.

        In case it makes a difference, this value is a timestamp (presumably 
from the store-clock instruction) but it is stored in an 8-byte file field.  
Now I need to take the file field and turn it into a date and a time value.  I 
have done this in REXX and COBOL but now I need to do it in assembler.  
Actually, I have done something similar in assembler but it was for the CICS 
ABSTIME value -- which is a 15-digit packed number, not binary.

        So, any hints?  Thanks.

Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio  45439  USA
(937) 294-5331



*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary 
information. If you have received this message in error, please immediately 
notify the sender and delete and destroy the message and all copies. All 
unauthorized direct or indirect use or disclosure of this message is strictly 
prohibited. No right to confidentiality or privilege is waived or lost by any 
error in transmission.
*********************************************************************************************

Reply via email to