diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-13 22:38:15 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-13 22:38:15 +0200 |
| commit | b158b113f5b780cbe8d8f974345bf4462e318c69 (patch) | |
| tree | 94cbe27214ab06e423f2d891e55444dddba3872a | |
| parent | e1de44339093a3d47b0257aded13de405a3e861c (diff) | |
| download | aoc2023.nes-b158b113f5b780cbe8d8f974345bf4462e318c69.tar.gz aoc2023.nes-b158b113f5b780cbe8d8f974345bf4462e318c69.zip | |
Apply suggestions as found by nasm
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | include/globals.s | 10 | ||||
| -rw-r--r-- | 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 @@ -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`. |
