Post Reply 
HP12C x><y Key
06-14-2024, 03:46 AM
Post: #1
HP12C x><y Key
The x><y key on the HP12C calculator has the same function in white and in blue. In other words, the primary function of the key is to swap the x and y registers. If you press g shift key, you get the same function in blue. Why does this key have the same function twice?
Find all posts by this user
Quote this message in a reply
06-14-2024, 11:13 AM
Post: #2
RE: HP12C x><y Key
They are not the same:

Unshifted: This swaps the X and Y registers

g-shifted: This is a conditional test, used in programs. It does the test "If X is less than or equal to Y is true then continue with the next instruction; if not true, the skip the next instruction and continue with the following one".

The labels simply look similar but if you look closely, you'll see the difference.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
06-14-2024, 11:58 AM
Post: #3
RE: HP12C x><y Key
Thanks Bob, now I see that they are indeed different. I haven't got to the programming bit yet.
Find all posts by this user
Quote this message in a reply
06-15-2024, 01:21 AM
Post: #4
RE: HP12C x><y Key
(06-14-2024 11:58 AM)Powa Wrote:  Thanks Bob, now I see that they are indeed different. I haven't got to the programming bit yet.

Actually, that's good news for you, the best stuff is still to come. You're in for lots of fun!

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
06-17-2024, 04:38 AM
Post: #5
RE: HP12C x><y Key
Will get there eventually! (I hope).
Find all posts by this user
Quote this message in a reply
Post Reply 




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