The contents of a storage location is a bunch of bits. Signed or not is
an interpretation of the instruction accessing the location. LH will
sign-expand a halfword, so it was treated as signed; LLH does not sign
extend, so the same bunch of bits are now taken as unsigned.
I don't wish to be
For non-relocatable values, the range of Y values is the same as a signed
halfword.
In my case, I want unsigned values so I can't use Y.
I ended up coding:
DCAL2(expr)
DS0XL(65536-expr) ASSERT: expr was not truncated
-Original Message-
From: IBM Mainframe