0% found this document useful (0 votes)
82 views1 page

.Model Small .Stack 64 .Data .Code

This program multiplies the number 1 by 5 repeatedly using a loop, storing the result in the AX register each time, then outputs the number 4Ch which terminates the program. It uses the CL register as a counter, starting at 5 and decrementing by 1 each loop iteration, repeating until it reaches 0.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views1 page

.Model Small .Stack 64 .Data .Code

This program multiplies the number 1 by 5 repeatedly using a loop, storing the result in the AX register each time, then outputs the number 4Ch which terminates the program. It uses the CL register as a counter, starting at 5 and decrementing by 1 each loop iteration, repeating until it reaches 0.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

.model small .stack 64 .data .

code

start: mov cl,05h mov ax,01h again: mul cl dec cl jnz again mov ax,4ch int 21h end start .end

You might also like