1section .text
2 global main
3extern printf
4
5main:
6 mov ebx,10 ; moving the intial time to ebx
7loop: push ebx ; value of first parameter
8 push message ; value of second parameter
9 call printf ; to outpur the result
10 dec ebx ; decrementing the value stored in ebx by 1
11 jnz loop ; if not equal to zero then a go to loop would be triggered
12 add esp,80 ;clearing the stack
13 ret
14
15message db "Value = %d",10,0
16
17Here's the solution to your question, please provide it a 100% rating. Thanks for asking and happy learning!!