Clearly, when using the ‘u’ command in DOSBox, it usually displays the corresponding assembly code for functions and code sections. However, in my case, it’s showing raw byte sequences instead of assembly code
this is my code:
.model small
.stack 100h
.data
chao db ‘helu$’
chui db ‘chao cc$’
endl db 13,10,’$’
.code
start:
main proc
mov ax,@data
mov ds,ax
mov ah,9
lea dx,chao
int 21h
lea dx,endl
int 21h
lea dx,chui
int 21h
mov ah,4ch
int 21h
main endp
end start
and this is how dosbox display my code:
enter image description here
please help me
i don’t know how to fix it. I reinstalled dosbox, or compared my code with others, but they all had the same problem (before that error happened, I ran them and had no problem)
Thành Dương Ngọc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.