Post Reply 
Which calculators had no known bugs?
08-06-2017, 01:54 PM
Post: #27
RE: Which calculators had no known bugs?
(08-06-2017 10:31 AM)toml_12953 Wrote:  I understand the cases where X>Y and X<Y but how does X=Y work? The way I see it, the execution would be step 1, 2, then, since g X<>Y is false, step 5 is next then, since g X>Y is false, step 8 is next just putting a 1 in the display and not going anywhere. What have I misunderstood?

"g X<>Y" is not a test, it is simply exchange X and Y registers ( [g] [7] on an HP-65)

When X=Y, the test on line 4 fails, so it skips 2 steps and proceeds to line 7 to complete the command GTO 2.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread

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