%include "CONSTANTS.h" section .data START_NUMBER: dq 10 fmtString1: db `i = %d\n`,0 launchString: db `Blastoff !!!!!!\n`,0 section .bss section .text global main main: ;mov rdi, format1 ;mov rsi, -1 ;call CallPrintf ; use r12 as the LCV, i ; let i = START_NUMBER mov r12, [START_NUMBER] top: ; while i > 0 ; cout << i mov rdi, fmtString1 mov rsi, r12 call CallPrintf ; --i dec r12 jnz top ;jz done ;jmp top done: mov rdi, launchString; call CallPrintf jmp Exit