Code: Select all
shift.zas:1386: error: unable to resolve reference: iy
Code: Select all
jrz r,iy
There is also an error
Code: Select all
shift.zas:1386: error: unable to resolve reference: sp
Code: Select all
sp
What am I missing here?
Code: Select all
shift.zas:1386: error: unable to resolve reference: iy
Code: Select all
jrz r,iy
Code: Select all
shift.zas:1386: error: unable to resolve reference: sp
Code: Select all
sp
Code: Select all
shift.zas:1386: error: unable to resolve reference: iy
Code: Select all
jrz r,iy
Code: Select all
JRz LABEL
JR r(DOT?)iy
…
r.iy: ; << It's a label !
Code: Select all
shift.zas:1386: error: unable to resolve reference: sp
I fear, you are right.
I don't deny that this is good advice, But as far as I see, I didn't. I'm happy to provide a copy of shift.zas, if anyone cares. It will be free software anyway, in case it gets somewhere. ButXavSnap wrote: ↑Wed Jul 17, 2019 3:13 amNerver set a label : "A:","SP:", "HL:","BC" … in your code.Code: Select all
shift.zas:1386: error: unable to resolve reference: iy
The lower/hupper case may give a wrong label jump.
That's the strangeness
Yes…which has characters which look like i or y in the terminal, but have different code-points.
I typed everything in with my bare hands. That's how we oldtimers do things. https://www.memecenter.com/fun/2086225/old-timers
On the other hand, my machines are up there, collecting dust and I'm not typing the source on an emulator. So I think that as long as z80asm is able to get the character set right which geany produces, I should be set. To the best of my knowledge I haven't changed anything here lately.
Code: Select all
LD (IX),A
Code: Select all
LD (IX+0),A
OCR = Old Crusty Retinas... (well, for me anyway)