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

4th May 2021, 1:48 PM
Khem Olayta
Khem Olayta - avatar
9 Respuestas
+ 1
Thank you so much sir for your answer
4th May 2021, 2:53 PM
Khem Olayta
Khem Olayta - avatar
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.
5th May 2021, 12:24 PM
Khem Olayta
Khem Olayta - avatar
0
Aw sorry sir call print_num I use sorry did not see that one
5th May 2021, 1:49 PM
Khem Olayta
Khem Olayta - avatar
0
It will be print like this sir Input: 9 4 3 Output: 9 4 3
5th May 2021, 1:49 PM
Khem Olayta
Khem Olayta - avatar