adzierzanowski/z80

[z80asm] Expressions with label fail on byte emit directive

adzierzanowski opened this issue · 0 comments

dw scall + 1

scall:
  call subroutine

subroutine:
  ret

It seems that dw doesn't set subsuquent token sizes. Even if this is quickly patched, the expression from the above example evaluates to scall - 1 instead.