RosettaCodeData/Task/Integer-overflow/360-Assembly/integer-overflow-1.360

7 lines
223 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
L 2,=F'2147483647' 2**31-1
L 3,=F'1' 1
AR 2,3 add register3 to register2
BO OVERFLOW branch on overflow
....
OVERFLOW EQU *