开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: A Z80 Asm rec


 

Need to find out how ASMZ80 does it.? Perhaps you will need to mask the address and shift it?

LD L, LED_DISPLAY_SB & 0xFF
LD H, HIGH_SCAN_PTR >> 8

Need to read the ASMZ80 manual to see how they handle it.



On Friday, December 29, 2023 at 06:44:30 p.m. EST, ajparent1/kb1gmx <kb1gmx@...> wrote:


I thought I had the assembler used...

ASMZ80? does not digest the following:

? LD? L,LOW LED_DISPLAY_SB? ;Restart Pointer to Secondary Buffer
? LD ? ? ? ? H,HIGH SCAN_PTR
? OR? ? ? ? LOW LED_DISPLAY

Best guess is it extracts the LOW or HIGH byte of the address of that variable or the 16 bit variable.

Any other ways around this??


Allison

Join [email protected] to automatically receive all group messages.