From 4abbac76f3d98e72d07745b8ae7dd4438213cc7b Mon Sep 17 00:00:00 2001 From: akshit404-exe Date: Sat, 9 May 2026 01:40:57 +0530 Subject: [PATCH] Change format specifier from %d to %ld --- 2025101064/q1/q1.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2025101064/q1/q1.s b/2025101064/q1/q1.s index 24879fd..e8d3d54 100644 --- a/2025101064/q1/q1.s +++ b/2025101064/q1/q1.s @@ -1,5 +1,5 @@ .section .data -fmt_n: .asciz "%d" +fmt_n: .asciz "%ld" fmt_o: .asciz "%d\n" fmt: .asciz "%d %d\n" num1: .dword 0 @@ -60,4 +60,4 @@ done: call printf ld ra, 8(sp) addi sp,sp,16 - ret \ No newline at end of file + ret