Post Reply 
32SII new "old-bug"
12-17-2021, 09:20 AM
Post: #8
RE: 32SII new "old-bug"
(12-15-2021 10:02 PM)J-F Garnier Wrote:  ENTER on the ΣXY sum register seems to recall the value of A (or 0 if non existing) on the stack.
ENTER on ΣY2 seems to always recall 0.
No explanation for now.

OK, the explanation was not too difficult to identify. This is the same root cause, the routine that is managing ENTER in the MEM/VAR menu shares the code managing the "RCL var" command, and the "var" argument is extracted from the command code by masking with 31 (0x1F), giving a range from 0 to 31 for the A..Z, i and (i) parameters.
But now with ENTER in MEM/VAR, the ΣY2, ΣXY sum registers have codes 32 and 33 (dec), giving 0 and 1 after masking. Code 1 corresponds to the variable A, but code 0 is not defined and the 32SII considers it as an non-existing variable and returns 0.


(12-16-2021 08:13 PM)Alejandro Paz(Germany) Wrote:  a 16KB ROM would be a great fit for the small Lattice MachXO3 internal memory !, I can stop writing my own.... but the place says me nothing Sad.
Hint: Leonardo meets Emu42

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
32SII new "old-bug" - J-F Garnier - 12-15-2021, 09:03 AM
RE: 32SII new "old-bug" - Massimo Gnerucci - 12-15-2021, 11:09 AM
RE: 32SII new "old-bug" - rprosperi - 12-15-2021, 01:37 PM
RE: 32SII new "old-bug" - Joe Horn - 12-15-2021, 05:40 PM
RE: 32SII new "old-bug" - J-F Garnier - 12-15-2021, 10:02 PM
RE: 32SII new "old-bug" - Ross Barnes - 12-15-2021, 03:41 PM
RE: 32SII new "old-bug" - J-F Garnier - 12-17-2021 09:20 AM
RE: 32SII new "old-bug" - J-F Garnier - 01-03-2022, 08:55 AM
RE: 32SII new "old-bug" - J-F Garnier - 01-08-2022, 08:49 AM
RE: 32SII new "old-bug" - KeithB - 01-04-2022, 03:15 PM
RE: 32SII new "old-bug" - J-F Garnier - 01-05-2022, 08:26 AM
RE: 32SII new "old-bug" - Vincent Weber - 01-08-2022, 01:22 PM
RE: 32SII new "old-bug" - Ross Barnes - 01-08-2022, 04:46 PM
RE: 32SII new "old-bug" - Thomas Radtke - 01-09-2022, 11:39 AM



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