Closed PeterTillema closed 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
jr .fill
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.
db 0D5h dup 100
0D5h
throws an out of range error, while it should compile fine.
jr .fill
doesn't work either