0
Hi guys can you help me in this its emulator8086 and needs to sorted by ascending order can you please help me?
include 'emu8086.inc' org 100h gotoxy 0, 0 print 'Enter 1st Number: ', 0 call scan_num push cx inc row gotoxy 0,1 print 'Enter 2nd Number: ', 0 call scan_num push cx inc row gotoxy 0,2 print 'Enter 3rd Number: ', 0 call scan_num push cx mov di, 0 loop1: pop ax gotoxy col, row call print_num add col, 3 cmp cx, 1 loop loop1 end: ret col db 0 row db 2 define_scan_num define_print_num define_print_num_uns
9 Answers
+ 1
Thank you so much sir for your answer
0
Ahm sir can I ask again how can I
print this is use this code
x3:
gotoxy col, row
call scan_num
add col,3
loop x3
The output is zero can you teach me sir sorry sir I am a slow learner sir.
0
Aw sorry sir call print_num I use sorry did not see that one
0
It will be print like this sir
Input:
9
4
3
Output: 9 4 3