Tuesday, January 10, 2012

Re: (Attock VU Group) MIT VIRTUALIANS of Solution CS401 Assignment No.4

[org 0x100]   jmp start   data: dw 2, 1, 4, 3, 6, 5, 8, 7, 10, 9  swap: db 0    clrscr: push es  push ax  push cx  push di     mov ax,0xb800  mov es,ax  xor di,di  mov ax,0x0720  mov cx,2000   cld  rep stosw  pop di  pop cx  pop ax  pop es  ret     print:  push bp  mov bp, sp  push es  push ax  push bx  push cx  push dx   mov ax, 0xb800  mov es, ax  mov ax, [bp+4]  mov bx, 10  mov cx, 0  nextdigit:  mov dx, 0  div bx  add dl, 0x30  push dx  inc cx  cmp ax, 0  jnz nextdigit   nextpos: pop dx  mov dh, 0x07  mov [es:di], dx  add di, 2  loop nextpos   pop dx  pop cx  pop bx  pop ax  pop es  pop bp  ret 2         bubblesort:  dec cx  shl cx,1  mov di,0  mainloop:   mov si,0  mov byte [swap],0  innerloop: mov ax,[bx+si]  cmp ax,[bx+si+2]  jbe noswap   mov dx,[bx+si+2]  mov [bx+si],dx  mov [bx+si+2],ax  mov byte [swap],1     add di,2  mov ax,[bx+2]  push ax  call print  add di,2  mov ax,[bx+4]  push ax  call print  add di,2  mov ax,[bx+6]  push ax  call print  add di,2  mov ax,[bx+8]  push ax  call print  add di,2  mov ax,[bx+10]  push ax  call print  add di,2  mov ax,[bx+12]  push ax  call print  add di,2  mov ax,[bx+14]  push ax  call print  add di,2  mov ax,[bx+16]  push ax  call print  add di,2  mov ax,[bx+18]  push ax  call print  sub di,18  add di,140    noswap: add si,2  cmp si,cx  jne innerloop  cmp byte[swap],1  je mainloop  ret     start: call clrscr   mov bx,data  mov cx,10   call bubblesort   mov ax,0x4c00


On Tue, Jan 10, 2012 at 8:49 PM, MIT VIRTUALIANS <irfankhan0044@gmail.com> wrote:









Asslam.o.Alaikum

Dear Virtual University Fellows

The CS401 Assignment No.4 file is here. Compare it with others. After that you will come to know which is correct.

This file will surely help you in solving assignment.. If you have any problem regarding this subject, you will surely welcome for consulting and better help. Feel free to contact  



--
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
Join us at http://www.Vusr.net for Papers,Assignments,GDBs, Quizes.
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

--
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
Join us at http://www.Vusr.net for Papers,Assignments,GDBs, Quizes.
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

No comments:

Post a Comment