1 year ago
#365348
Soraya Forward
space in the beginning of the console when printing in emu8086
I'm trying to output the string "you can start typing here" on the console but it displays a big gap before the text as the picture shows. One line down and indented many columns.
IDK what the problem is.
i'm using emu8086 assembly
DATA SEGMENT
str1 DB "you can start typing here : $"
ENDS
CODE SEGMENT
MOV ax,DATA
MOV ds,ax
MOV es, ax
start:
;displaying msg
mov dx, offset str1
mov ah, 09H
int 21h
;END of PROG
MOV AH,4CH
INT 21h
ENDS
end start
ret
assembly
emu8086
0 Answers
Your Answer