Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ASSEMBLY

assembly language loop example masm

 invoke   readInteger
 test     eax, eax
 jz       exitNow
 mov      x, eax                ;x=[1,2GB-1]
increase:
 invoke   writeInteger, y
 inc      y
 mov      eax, x
 cmp      y, eax
 jne      increase
exitNow:
 invoke   ExitProcess,0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #assembly #language #loop #masm
ADD COMMENT
Topic
Name
1+1 =