Post Reply 
WTB RPN Module for TI-59
09-05-2024, 04:15 PM
Post: #10
RE: WTB RPN Module for TI-59
(09-05-2024 01:04 PM)Maximilian Hohmann Wrote:  I will try your example later in the day!

Thank you in advance.
That's very kind of you.

In the meantime, I have looked at the sources of the RPN SIMULATOR.
These are my findings so far.

Registers

The following registers are used:
Code:
# Primary Registers
00-09: 0 - 9

# Secondary Registers
10-19: S0 - S9

# Statistics
14: Σx
15: Σx²
16: Σy
17: Σy²
18: Σxy
19: n

# Alpha Registers
20: A
21: B
22: C
23: D
24: E
25: I

# Stack
26: Y
27: Z
28: T
29: L

Programs

The programs work with the stack registers and the display, which represents the X-register:
Code:
12: A=+ B=- C=* D=/
13:
14:
15: H.MS+
16: %
17: %CH
18:
19: P->R
20: D->R
21: R->D
22: Σ+
23: Σ-
24: x̄
25: s
26: 
27: -x-
28: CL REG
29: STK
30: P<>S
31:
32: RCL Σ+
33: RCL (i)
34-43: RCL 0 - RCL 9
44-48: RCL A - RCL E
49: RCL I
50: LST x
51: ENTER
52: R↑
53: R↓

E.g. prog51.src implements the ENTER operation:
Code:
lbl A
   exc 26
   exc 27
   sto 28
   rcl 26
   inv sbr

So it looks like the HP-67's operations are actually simulated.
I suspect that the compiled program calls the appropriate subroutines.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WTB RPN Module for TI-59 - Namir - 09-03-2024, 06:25 PM
RE: WTB RPN Module for TI-59 - KeithB - 09-03-2024, 07:07 PM
RE: WTB RPN Module for TI-59 - Namir - 09-03-2024, 11:53 PM
RE: WTB RPN Module for TI-59 - floppy - 09-04-2024, 03:59 PM
RE: WTB RPN Module for TI-59 - Namir - 09-04-2024, 04:14 PM
RE: WTB RPN Module for TI-59 - Namir - 09-04-2024, 10:46 PM
RE: WTB RPN Module for TI-59 - Thomas Klemm - 09-05-2024 04:15 PM



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