Post Reply 
HP-15C: Fixing the CHS and Stack Lift Bug
12-14-2015, 09:35 PM (This post was last modified: 12-22-2015 10:32 PM by Thomas Klemm.)
Post: #7
HP-11C and HP-16C: Fixing the CHS and Stack Lift Bug
The fix for these two models was similar or maybe even a little simpler.
I'm just posting the change I made to the HP-11C since the code for the HP-16C is similar:

original:
Code:
07107: 1372 ? c<>0  m
07110: 1145 ?nc goto 00231
07111: 0002
07112: 1276 c=-c-1  s
07113: 1104 s=0 9
07114: 0360 c<>n
07115: 1733 ?nc goto 07110

patched:
Code:
07107: 1372 ? c<>0  m
07110: 0033 ?nc goto 07113
07111: 1276 c=-c-1  s
07112: 0360 c<>n
07113: 1104 s=0 9
07114: 1145 ?nc goto 00231
07115: 0002

A few short branches had to be adjusted but this time they stayed within the reach. Both patch files are attached in the file hp-11c-16c-chs-bug.zip.

Kind regards
Thomas


Attached File(s)
.zip  hp-11c-16c-chs-bug.zip (Size: 656 bytes / Downloads: 34)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-11C and HP-16C: Fixing the CHS and Stack Lift Bug - Thomas Klemm - 12-14-2015 09:35 PM



User(s) browsing this thread: 10 Guest(s)