12345678910111213141516171819202122 |
- prelude
- struc text txt {
- local ..
- .. db txt
- .len = $-..
- }
- msg text <'Hello world',10>
- endprelude
- code print
- pop edx ecx
- mov eax, sys_write
- mov ebx, STDOUT
- int 80h
- endcode
- word main
- literal msg
- literal msg.len
- print
- endword
|