Post Reply 
ASM Programming with HP50g
05-10-2021, 06:24 PM
Post: #15
RE: ASM Programming with HP50g
Hmmm, that's a quite roundabout way of getting the address. How about:
Code:
...
ADD R10, PC, TEXT-HERE
*HERE
...
*TEXT
¢Hello World¢
You might have to put a constant offset into the calculation - if I recall the details of the ARM program counter correctly (ahead of the current instruction by 3 instruction lengths), the offset ought to be -12.
This explicitly relatively-addressing instruction is approximately what the LDR instruction should be converted to without the MASD bug. Hopefully this syntax makes it through unscathed.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ASM Programming with HP50g - Helge P - 12-04-2020, 01:18 PM
RE: ASM Programming with HP50g - hth - 12-04-2020, 07:49 PM
RE: ASM Programming with HP50g - 3298 - 12-05-2020, 12:24 PM
RE: ASM Programming with HP50g - Helge P - 12-07-2020, 10:38 AM
RE: ASM Programming with HP50g - 3298 - 12-08-2020, 02:38 PM
RE: ASM Programming with HP50g - Helge P - 12-10-2020, 09:13 PM
RE: ASM Programming with HP50g - ijabbott - 12-13-2020, 12:38 PM
RE: ASM Programming with HP50g - Helge P - 05-09-2021, 02:55 PM
RE: ASM Programming with HP50g - 3298 - 05-09-2021, 04:12 PM
RE: ASM Programming with HP50g - Helge P - 05-09-2021, 05:04 PM
RE: ASM Programming with HP50g - 3298 - 05-09-2021, 05:51 PM
RE: ASM Programming with HP50g - Helge P - 05-10-2021, 04:59 PM
RE: ASM Programming with HP50g - 3298 - 05-10-2021 06:24 PM
RE: ASM Programming with HP50g - Helge P - 05-19-2021, 05:40 PM
RE: ASM Programming with HP50g - TRS80 - 11-16-2023, 10:55 AM
RE: ASM Programming with HP50g - TRS80 - 11-27-2023, 11:27 AM
RE: ASM Programming with HP50g - 3298 - 11-27-2023, 08:16 PM



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