HP Forums
HP41 FOCAL programming: characters on stack? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP41 FOCAL programming: characters on stack? (/thread-19946.html)



HP41 FOCAL programming: characters on stack? - smartin - 05-11-2023 08:54 PM

Hello,

Question on programming the HP41:
Is it possible to copy the alpha register contents onto stack registers other than X?

Steve


RE: HP41 FOCAL programming: characters on stack? - Valentin Albillo - 05-11-2023 09:40 PM

.
Of course, but storage registers admit only up to 6 alpha characters per register, so if you have a full 24 chars in the ALPHA register you should do something like this:

ASTO X
ASHF
ASTO Y
ASHF
ASTO Z
ASHF
ASTO T


or any other registers you care, say 01, 02, 03, 04.

V.


RE: HP41 FOCAL programming: characters on stack? - floppy - 05-12-2023 09:25 AM

Add from my side:
- if you have in ALPHA "TT", which would be a program name
- when you make "ASTO 00" and "XEQ IND 00", it will execute the program "TT"