On Apr 26, 2022, at 17:30:26, Peter Relson wrote:
> 
> Apologies if this was mentioned, since I am only now getting around to 
> reading some of this thread:
> 
> Bernd wrote (and others had similar)
> <snip>
> 
> LPR: if the register contains 0x80000000, IMO the result will be zero
> 
> (and overflow),
> 
> so you're right ... this will lead to a zero result. IMO, the overflow
> will be ignored.
> </snip> 
Somewhat later in this thread, Thomas David Rivers averred that LPR
Of 0x80000000 results in 0x80000000.
The puzzling sequence of instructions was LPR; LCR; SLR 31 to set a
char variable on a nonzero operand.  This works correctly (and I'll
trust the C compliers) only if both LPR and LCR result in 0x80000000,
or at least some nonzero result.

-- 
gil

Reply via email to