Post Reply 
Proof of X≤Y inverse to X˃Y
09-01-2018, 08:27 PM
Post: #10
RE: Proof of X≤Y inverse to X˃Y
(09-01-2018 07:51 PM)Dieter Wrote:  BUT: On the 12C or other calculators with line addressing inverting a test can be done even easier: simply have the test followed by a GTO to the second next line.

Code:
21 ...
22 X≤Y?
23 GTO 25
24 ...     <= this line is executed if X>Y, else it is skipped
25 ...     program continues here

Dieter

Gene: And the beauty of this (IMO) is that on a line-addressing model with limited steps, it is VERY efficient. No step burned with a LBL.

Of course... that's only true until you have to modify the program and then it really hurts.

Or if you have a ton of memory! :-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Proof of X≤Y inverse to X˃Y - Gamo - 09-01-2018, 08:40 AM
RE: Proof of X≤Y inverse to X˃Y - Gamo - 09-01-2018, 12:57 PM
RE: Proof of X≤Y inverse to X˃Y - Gene - 09-01-2018 08:27 PM
RE: Proof of X≤Y inverse to X˃Y - Gene - 09-01-2018, 02:04 PM
RE: Proof of X≤Y inverse to X˃Y - Gamo - 09-02-2018, 01:29 AM
RE: Proof of X≤Y inverse to X˃Y - Gamo - 09-02-2018, 01:52 PM
RE: Proof of X≤Y inverse to X˃Y - Gamo - 09-02-2018, 02:40 PM



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