Post Reply 
Detect number entry on HP-35s?
02-25-2015, 02:49 PM
Post: #8
RE: Detect number entry on HP-35s?
(02-25-2015 02:15 PM)Dieter Wrote:  I assume this is not the code you are actually working with. For instance there is no LBL W in line 001 (which is required for branching to line numbers) and I also wonder what line 005...011 will do. At line 005 the value in X always is 1.001, so the following three lines will always evaluate to 1000 and the display is [1000, 1]. Is this how the program is supposed to work? What is this [1000, 1] supposed to mean? Due to the "1E3 x" in line 007-008, LastX always is 1000, and so is the first value displayed within the square brackets.

The code was thrown together last night and isn't complete (nor debugged).

Quote:If this is not the intended behaviour, please give an example of a value entered by the user on program start, and what you want the program to display in the first, second, third, ... loop. Finally, what's the use of SF 0 at the beginning?

Dieter

Here was the thought process:
1. User enters the starting register number on the stack
2. Execute Program W
3. Flash array [column,row] (using two stack registers as counters)
4. Input value in variable A
5. Store in (I), beginning with starting register.
6. Increment counters and indirect register number
7. Go to step 3 until first column is filled
8. Start next column (Flag 0)
9. Exit program
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Detect number entry on HP-35s? - mbrethen - 02-25-2015, 03:37 AM
RE: Detect number entry on HP-35s? - mbrethen - 02-25-2015 02:49 PM
RE: Detect number entry on HP-35s? - d b - 02-26-2015, 06:31 AM



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