Post Reply 
[TI-59/58] Percentage calculation.
05-24-2016, 12:24 PM (This post was last modified: 05-24-2016 12:34 PM by Dieter.)
Post: #9
RE: [TI-59/58] Percentage calculation.
(05-24-2016 12:54 AM)hp41cx Wrote:  
Code:
.. .. ...
08 93 .
09 00 0
10 01 1
11 82 HIR
12 42 42
.. .. ...

I just tried this on Hrastprogrammer's TI59E emulator that is said to run the original microcode. Here the .01 HIR 42 sequence does not work (after the HIR command the display switches from .01 to 100), but 100 HIR 62 does it.

So this is the final version:

Code:
000  76 LBL
001  11  A
002  82 HIR
003  02  02
004  82 HIR
005  11  11
006  82 HIR
007  42  42
008  01  1
009  00  0
010  00  0
011  82 HIR
012  62  62
013  82 HIR
014  12  12
015  92 RTN

BTW, answering my own question: obviously the last operand (the one in the display) is not automatically stored in HIR, so the initial HIR 02 is required.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [TI-59/58] Percentage calculation. - Dieter - 05-24-2016 12:24 PM



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