Of course it is overflow, and it is reported in the condition code even though it doesn't trap. Carry and overflow are synonymous for integer arithmetic. What is true is that PoOps uses the term carry for logical arithmetic.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Thursday, April 21, 2022 12:29 PM To: [email protected] Subject: Re: Unexpected C code On Apr 21, 2022, at 10:21:46, Robin Vowels wrote: > > AL and SL report overflow via the CC, as carry out. > >> rather, AL and SL report a carry from >> the MSB. > > That is overflow. > It it is not overflow. It does not trap if overflow is enabled ini the program mask. -- gil
