Cs 401 solution
Cs 401 solution
·
Assembly
language program
[org 0X0100]
jmp start
start:
mov ax,[num1]
mov bx,[num2]
cmp ax,bx
jl su
add ax,bx
mov cx,bx
su:
sub bx,ax
mov cx,bx
mov ax,0X4c00
int 0X21
num1:dw 35h;vuidbc180406680
num2:dw 19h
·
Screenshot
of AFD debugger at the start of program.
Screenshot of AFD debugger showing the final value in memory.


Comments
Post a Comment