Rev 3906 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6699 | clevermous | 1 | format PE console 0.8 |
2 | include '../../../../import.inc' |
||
836 | diamond | 3 | |
4 | start: |
||
5 | push aHelloWorld |
||
6 | call [con_write_asciiz] |
||
7 | push 0 |
||
8 | call [con_exit] |
||
6699 | clevermous | 9 | xor eax, eax |
10 | ret |
||
836 | diamond | 11 | |
3906 | leency | 12 | aHelloWorld db 'Hello, World!',10,0 |
836 | diamond | 13 | |
14 | align 4 |
||
6699 | clevermous | 15 | data import |
16 | library console, 'console.dll' |
||
3906 | leency | 17 | import console, \ |
18 | con_write_asciiz, 'con_write_asciiz', \ |
||
6699 | clevermous | 19 | con_exit, 'con_exit' |
20 | end data |