%include "CONSTANTS.h" section .data fmtString: db `%3d! = %20qd\n`,0 section .bss section .text global main main: ;mov rdi, format1 ;mov rsi, -1 ;call CallPrintf ; r12 will hold the current value of i (i = 1,2, 3 ...) ; r13 will hold i! mov r12, 0 mov r13, 1 top: mov rdi, fmtString mov rsi, r12 mov rdx, r13 call CallPrintf inc r12 imul r13, r12 jo out jmp top out: jmp Exit