Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //multiple string test
- dcolor white;
- mov #text_pos.y,0;
- mov #num_pos.y,0;
- mov ecx,8; //loop 8 times
- mov edx,-1; // start from 0
- write_line:
- inc edx;
- in eax,edx;
- add #text_pos.y,25;
- add #num_pos.y,25;
- dwrite text_pos,str;
- dwritei num_pos,eax;
- loop write_line;
- dexit;
- vec2f text_pos,100,0;
- vec2f num_pos,250,0;
- color white, 255, 255, 255, 255;
- str:
- db 'Port: ',0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement