Byte Level Handling

Programs for HP-41

Byte Level Handling

Postby Duncan » Mon Jul 13, 2026 2:02 pm

Hi There
Iam trying to use the STOBM, RCLBM & X<>BM byte functions provided by Angel Martin's RAMPAGE module. Iam using ZENROM SYNTEXT mechanism to code the required byte/register addresses. The STOBM function seems to work fine but the RCLBM does not decode back into decimal (X) as shown below:

ABS REG# B6 B5 B4 B3 B2 B1 B0
0CEh 206d 00 00 00 44 43 42 41

To reacall byte 0 from reg# 0CE I enter 00 CE
XEQ RCLBM, X = 577d (241h)

To reacall byte 1 from reg# 0CE I enter 10 CE
XEQ RCLBM, X = 1090d (442h)

To reacall byte 2 from reg# 0CE I enter 20 CE
XEQ RCLBM, X = 579d (2432h)

To reacall byte 3 from reg# 0CE I enter 30 CE
XEQ RCLBM, X = 580d (244h)

Why am I not getting the values 65, 66, 67 & 68 respectively in X! Am I doing something silly or do have brain fog?
Duncan
........
........
 
Posts: 49
Joined: Sat Nov 09, 2019 5:40 pm

Return to HP-41 Software

Who is online

Users browsing this forum: No registered users and 1 guest