This program writes ladder to the screen, example of what code will print if you don't change SizeOfLadder variable:
*
**
***
****
*****
-
For Linux:
nasm -f elf64 main.asm -o exe.o && ld exe.o -o exe -
For Windows:
nasm -f win64 main.asm -o exe.obj && ld exe.obj -o exe.exe