From b158b113f5b780cbe8d8f974345bf4462e318c69 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 13 Oct 2025 22:38:15 +0200 Subject: Apply suggestions as found by nasm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- include/globals.s | 10 +++++----- src/1.s | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/globals.s b/include/globals.s index 41d3e6c..ca56ff4 100644 --- a/include/globals.s +++ b/include/globals.s @@ -2,11 +2,11 @@ ;;; ;; Temporary values. - m_tmp_1 = $00 - m_tmp_2 = $01 - m_tmp_3 = $02 - m_tmp_4 = $03 - m_tmp_5 = $04 + m_tmp_1 = $90 + m_tmp_2 = $91 + m_tmp_3 = $92 + m_tmp_4 = $93 + m_tmp_5 = $94 ;; Bit map to be used as flags during execution. m_flags = $20 diff --git a/src/1.s b/src/1.s index 28cd933..2441079 100644 --- a/src/1.s +++ b/src/1.s @@ -58,7 +58,7 @@ ;; $08-$09 is a 16-bit number that accumulates the value being computed by ;; this program. - m_sum = $08 + m_sum = $08 ; asan:reserve $02 ;; Zeroes out all variables and sets the base address for the data on ;; `m_address`. -- cgit v1.2.3