Where do named variables go?

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
hsilop
Posts: 28
Joined: Thu Mar 14, 2019 12:35 am
Location: Canberra, Australia

Where do named variables go?

Post by hsilop » Sat Mar 16, 2019 4:32 am

Presumably named variables get mapped to numbered registers somehow. Is there a lookup table somewhere or is it done some other way?
DM42 SN: 03223

HP-25, HP-33C, HP-41CV, HP-46, HP-11C, HP-12C, HP-15C, HP-16C

grsbanks
Posts: 817
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: Where do named variables go?

Post by grsbanks » Sat Mar 16, 2019 9:21 am

Nope, they're not mapped to registers, they're variables in their own right.

Actually, the registers are all combined to form a matrix that is stored in named variable REGS so it works the other way round :)
Not SwissMicros staff, just an enthusiast.

hsilop
Posts: 28
Joined: Thu Mar 14, 2019 12:35 am
Location: Canberra, Australia

Re: Where do named variables go?

Post by hsilop » Sun Mar 17, 2019 2:59 am

Nice, my respect for this machine continues to grow.
DM42 SN: 03223

HP-25, HP-33C, HP-41CV, HP-46, HP-11C, HP-12C, HP-15C, HP-16C

Post Reply