1 ; Example source code for ZeX/OS assembly compiler
2 welcome db 'ZASM example binary file', 0xA
8 ; first we get arguments
13 ; lets get count of arguments
18 ; print welcome message on screen
25 ; set in ecx register value 65 (ASCII character id of 'A')
30 ; sleep (loop cycle + 1 second)
35 ; print character on screen from ecx register
40 ; increase value in register ecx
43 ; compare value in ecx register with 91
46 ; jump to start of loop function, when value in ecx register is NOT 91
49 ; print character '\n' on screen
54 ; exit program with succefully status