Post Reply 
Casio PRO fx-1 Indirect Help?
10-31-2024, 02:06 PM (This post was last modified: 10-31-2024 02:07 PM by toml_12953.)
Post: #1
Casio PRO fx-1 Indirect Help?
I'm trying to wrap my head around how the Casio Pro fx-1 uses the indirect register, I. I tried the program below which I believed should display 10 in register 1. It doesn't.

Code:
MAC:
I=K5:                  // RI = 5
5=K2:                 // R5 = 2
2=K10:               // R2 = 10
1=I:                 // R1 = RI
ANS 1:             // Display R1
5:                    // Display R5
2:                    // Display R2

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
10-31-2024, 06:09 PM
Post: #2
RE: Casio PRO fx-1 Indirect Help?
I is a single level of indirection, so with 5 in it it is the same as accessing memory 5.
I think you have a double indirection in your program?
Find all posts by this user
Quote this message in a reply
10-31-2024, 10:47 PM (This post was last modified: 10-31-2024 10:55 PM by toml_12953.)
Post: #3
RE: Casio PRO fx-1 Indirect Help?
(10-31-2024 06:09 PM)blackjetrock Wrote:  I is a single level of indirection, so with 5 in it it is the same as accessing memory 5.
I think you have a double indirection in your program?

OK, this works. It displays R1 as 2. I wasn't using IM to fill R1.

[code]MAC:
I=K5: // RI = 5
5=K2: // R5 = 2
1=IM: // R1 = R(I)
ANS 1: // Display R1
5: // Display R5

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 




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