Post Reply 
HP41 FOCAL programming: characters on stack?
05-11-2023, 08:54 PM
Post: #1
HP41 FOCAL programming: characters on stack?
Hello,

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

Steve
Find all posts by this user
Quote this message in a reply
05-11-2023, 09:40 PM
Post: #2
RE: HP41 FOCAL programming: characters on stack?
.
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.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
05-12-2023, 09:25 AM
Post: #3
RE: HP41 FOCAL programming: characters on stack?
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"

HP71B 4TH/ASM/Multimod, HP41CV/X/Y & Nov64d, PILBOX, HP-IL 821.62A & 64A & 66A, Deb11 64b-PC & PI2 3 4 w/ ILPER, VIDEO80, V41 & EMU71, DM41X
Find all posts by this user
Quote this message in a reply
Post Reply 




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