Created
November 11, 2009 15:00
-
-
Save dannvix/232007 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INCLUDE Irvine32.inc | |
.data | |
text DWORD 10 DUP(?) | |
.code | |
main PROC | |
mov esi, 0 | |
L1: | |
call ReadDec | |
mov text[esi], eax | |
inc esi | |
cmp eax, 0 | |
jnz L1 | |
L2: | |
dec esi | |
mov eax, text[esi] | |
call WriteDec | |
call Crlf | |
cmp esi, 0 | |
jnz L2 | |
main ENDP | |
END main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment