SHOW:
|
|
- or go back to the newest paste.
| 1 | #include "crt.bi" | |
| 2 | ||
| 3 | dim shared as zstring*12 zText = "Hello World" | |
| 4 | ||
| 5 | - | push offset TextInAsm |
| 5 | + | |
| 6 | ||
| 7 | push offset zText | |
| 8 | call puts | |
| 9 | add esp, 4 | |
| 10 | call getchar | |
| 11 | - | TextInAsm: |
| 11 | + | |
| 12 | - | .string "Hello World!" |
| 12 | + | |
| 13 | end asm | |
| 14 |