I am assigning some value in a variable
ar db 107,106,105,104,103,102,101,100,99,98
and also not run string
msg db "this is not printed by tasm ","$"
but this is run on emu8086 emulator The actual code
The Bubble Sort
data segment
ar db 107,106,105,104,103,102,101,100,99,98
ends
code segment
start:
assume cs:code,ds:data
mov ax, data
mov ds, ax
mov es, ax
mov cl,00h
lb1:
mov ch,09h
sub ch,cl
mov si,0
lb2:
mov dl,ar[si]
mov dh,ar[si+1]
cmp dl,dh
jle finish
mov ar[si],dh
mov ar[si+1],dl
finish:
inc si
dec ch
cmp ch,00
jg lb2
inc cl
cmp cl,09h
jl lb1
mov cx,10
mov si,0
lb3:
mov dl,ar[si]
mov ah,02h
int 21h
inc si
loop lb3
mov ax, 4c00h
int 21h
ends
end start
then what's the problem I can't identify this thanks for your support please I need the result don't be lazy