New answers tagged

5 votes

Which CPUs have implemented trap on signed integer overflow?

I think indisputably the most important/influential machine to do this was the IBM S/360 and its compatible successors (370, 390, "z"). Two's-complement overflow stores the truncated result, ...
dave_thompson_085's user avatar
2 votes

Which CPUs have implemented trap on signed integer overflow?

BESM-6, which did not have a separate integer ALU, would trap on overflow by default. Integer calculations were done by disabling normalization and using either zero exponent (mostly in assembly ...
Leo B.'s user avatar
  • 18.8k
8 votes

Which CPUs have implemented trap on signed integer overflow?

The AT&T Bellmac 32 microprocessor, first released in 1980, could automatically trap on integer overflow. Bit 22 of its processor status word enables the overflow trap.
DrSheldon's user avatar
  • 15.9k
2 votes

Which CPUs have implemented trap on signed integer overflow?

The 68000 also has a trap-on-overflow instruction.
d3jones's user avatar
  • 911
16 votes

Which CPUs have implemented trap on signed integer overflow?

MIPS has always had trapping on overflow -- the add and sub instructions trap on signed overflow. It also has addu and subu instructions (unsigned, wrapping) that do not trap, so some compilers use ...
Chris Dodd's user avatar
17 votes
Accepted

Which CPUs have implemented trap on signed integer overflow?

The VAX optionally enables integer-overflow traps. The Processor Status Word (the half of the Processor Status Longword accessible to unprivileged modes) has trap enables for integer overflow, ...
dave's user avatar
  • 35.2k
9 votes

Which CPUs have implemented trap on signed integer overflow?

SPARC had TADDccTV and TSUBccTV : "Tagged Add (modify icc) Trap on Overflow" These very rarely used instructions were created for dynamic typing, object oriented languages such as Lisp and ...
Grabul's user avatar
  • 3,627
7 votes

What is the history of the PDP-11 MARK instruction?

I've seen claims by many, that MARK instruction has been borrowed from, no pun intended, Burroughs large systems, to make porting of UCSD Pascal p-System easier and more straightforward. As the ...
Alex Trusty's user avatar

Top 50 recent answers are included