include irvine32.inc

.data
i dword 8
j dword 29
x dword 0

.code
main proc
  mov eax,0
L:
   cmp i,10
   jl L1
   cmp j,15
   jng next
   ;call  writeint
   ;call crlf
L1:
   inc i
   dec j
   inc x
   LOOP L

next:

mov eax,x
call writeint

exit
main endp

end main

posted on 2013-02-25 19:09  叶城宇  阅读(150)  评论(0编辑  收藏  举报