CS401 Assignment 1 Solution - Fall 2017 - VU Students
CS401 Assignment mo.2 Solution step to step • CS401 Assignment No.2 Solution due date 18...
Bhai Plzzz Subscribe tu kar dain yar,free m hota hy,,Shukrya,,
Notepad correct file for Assignment 1..
[org 0x0100]
jmp start
num: dw 12h, 50h, 30h, 24h, 19h, 2h, 5h, 6h, 40h, 8h, 23h, 16h, 17h, 28h, 89h
start: mov bx, [num]
mov ax, [num]
mov si,2
abc: cmp [num+si], bx
jnc skip
mov bx,[num+si]
skip: add si,2
cmp si,30
jnz abc
mov si,2
xyz: cmp ax,[num+si]
jnc skip1
mov ax,[num+si]
skip1: add si,2
cmp si,30
jnz xyz
mov ax, 0x4c00
int 0x21