%include "CONSTANTS.h" section .data LoopFmt: db `i = %d\n`,0 section .bss section .text global main main: mov r14, 10 top: mov rsi, r14 mov rdi, LoopFmt call CallPrintf ; note the jz must follow the dec immediately dec r14 ; jz is a jump on zero ;jz done ; js is a jump on signed js done jmp top done: jmp Exit