|
-
Dec 4th, 2005, 12:41 PM
#1
Thread Starter
New Member
need to run thsi program...help...
i have alread wrote the program...but i am not able to run this on my computer......i need the output.....can you please run this and give me the output
%TITLE"5 TO 100"
IDEAL
MODEL SMALL
DATASEG
SUM dw 0
code seg
mov ax, 100
pushloop: push ax
sub ax, 5
jnz pushloop
mov ax, 0
poploop: pop bx
add ax, bx
cmp bx, 100
jl poploop
mov [sum], ax
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|