Having no luck with data NASM

后端 未结 1 1285
傲寒
傲寒 2021-01-26 10:00
section .data

map db 1

section .text

start:
cmp byte [map], 1
je exit
jmp start

exit:
ret

I\'m having no luck reading data. What I mean is that I a

相关标签:
1条回答
  • 2021-01-26 10:35

    DOS com files are expected to be loaded at address 0x100. You should include line org 0x100 at the start of your code.

    0 讨论(0)
提交回复
热议问题