Hi Jeff ...
here's a couple more for your scrapbook ...
(1) check for the Math Overflow Flag bit S:5/0 ...
(2) communicate with the programming terminal, HMI, etc. ... check out the SVC instruction for more trivial information along those lines - and then apply that approach to my YouTube Lesson #9 - starting at time 5:45 - and especially at time 6:30 ...
may be able to add more later ... got things to do ...
PS EDIT ... well, I see Mickey is "up and at 'em" already this morning ...