From 67b28fe5b14c201acf9c0dbaf5b58bc94ed14e1d Mon Sep 17 00:00:00 2001 From: Najam <85332859+najmiter@users.noreply.github.com> Date: Thu, 28 Sep 2023 21:53:56 +0500 Subject: [PATCH] Update std_noctalm.asm --- src/std_noctalm.asm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/std_noctalm.asm b/src/std_noctalm.asm index ea5fd7c..fe172cc 100644 --- a/src/std_noctalm.asm +++ b/src/std_noctalm.asm @@ -67,3 +67,12 @@ section .text mov rdx, %2 call std__sort %endmacro +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;; print the value in %1 ;;;;;;;;;;;;;;;;; + +%macro print 1 + push rax + mov rax, %1 + call printa + pop rax +%endmacro