jacobly0 / fasmg-ez80

fasmg ez80 include files
23 stars 5 forks source link

dup throws out of range #11

Closed PeterTillema closed 5 years ago

PeterTillema commented 5 years ago
.fill:
        db 0 dup 100
        djnz .fill

throws an out of range error, while it should compile fine. jr .fill doesn't work either

PeterTillema commented 5 years ago

Oops, my wrong. I had db 0D5h dup 100 and I assumed it would duplicate the byte 0D5h 100 times, but it's actually reversed.