emustudio / emuStudio

Universal emulation platform and framework.
https://www.emustudio.net/
GNU General Public License v3.0
40 stars 9 forks source link

After merging #201, as-8080: `call` instr compiles into wrong address when data is inbetween #229

Closed vbmacher closed 2 years ago

vbmacher commented 2 years ago
call sample
label: db 'hello'
sample: hlt

Program should compile into:

0xCD, 0x08, 0x00, 'h', 'e', 'l', 'l', 'o', 0x76

However instead 0x08 the address is 0x04

vbmacher commented 2 years ago

also holds for as-z80