SHOW:
|
|
- or go back to the newest paste.
| 1 | mov esi, [esp+4] ;String message | |
| 2 | mov ecx, 25 | |
| 3 | Loop: | |
| 4 | - | push 16 |
| 4 | + | push dword 0 |
| 5 | - | call puti |
| 5 | + | push dword 16 |
| 6 | - | pop ebx |
| 6 | + | call puti |
| 7 | - | push byte 0x0D |
| 7 | + | push byte 0x0D |
| 8 | - | call putc |
| 8 | + | call putc |
| 9 | - | pop bh |
| 9 | + | pop bh |
| 10 | - | mov ebp, esp |
| 10 | + | mov ebp, esp |
| 11 | - | pop ebp |
| 11 | + | pop ebp |
| 12 | - | loop Loop |
| 12 | + | loop Loop |
| 13 | - | push esi |
| 13 | + | push esi |
| 14 | - | call puts |
| 14 | + | call puts |
| 15 | - | mov esi,[haltmesg] |
| 15 | + | mov esi,[haltmesg] |
| 16 | - | push esi |
| 16 | + | push esi |
| 17 | - | call puts |
| 17 | + | call puts |
| 18 | - | cli |
| 18 | + | cli |
| 19 | - | hlt |
| 19 | + | hlt |