Hi,

I’m trying to write peep hole rules for the case that A can be trashed.
I thought `notUsed('a')` is for that use case, at least it looked like that in the peeph-gbz80.def.
But when I compile my project for gbz80, I just get:
`Function notUsed not initialized in port structure`

I peeked a bit into `SDCCpeeph.c`, but that’s not helping me at all.

Does that mean gbz80 does not support this condition?
Am I doing this wrong? Is there another way for doing this?

My current peephole rules are located here:
https://github.com/basxto/png2gb/blob/c983c0e836ded4340b633997aab3bceaff5a31eb/csrc/peep-rules.txt

--
Freundliche Grüße / Yours sincerely
Sebastian Riedel


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to