Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TITLE Hello, Assembly! (32 bites)
- INCLUDE Irvine32.inc
- .data
- HelloTxt BYTE "He.....225+*/*/llo, Assembly!", 0ah, 0
- A DWORD 5
- T SDWORD 1,2,-56,1956,5 ; Meg a tomb
- .code
- ; Belépési pont
- main PROC
- MOV ESI, offset T
- MOV ECX, N
- ciklus:
- MOV EAX, [ESI]
- CMP EAX, 0
- JL semmi
- CMP EAX, 10
- JG semmi
- Call WriteInt
- Call Crlf
- semmi:
- ADD ESI, 4
- LOOP ciklus
- INVOKE ExitProcess,0
- main ENDP
- END main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement