From 63897b552fc0d0a2544a547318017485ed220c67 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 12 Dec 2023 20:03:06 +0100 Subject: Implemented day 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that only part 1 has been implemented. The reasoning is on the file header. Moreover, we are not printing 24-bit results yet because that would entail modifying the somewhat terrifying vendor code on `vendor/bcd16.s`. Since this will be a recurring theme, I guess that I will have to come up with a solution sooner or later. Signed-off-by: Miquel Sabaté Solà --- src/1.s | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/1.s') diff --git a/src/1.s b/src/1.s index 4f4ae38..28cd933 100644 --- a/src/1.s +++ b/src/1.s @@ -110,7 +110,10 @@ @end: ;; Run tests now that everything has been done. - CALL_TESTS_ON_DONE +.ifdef RUN_TESTS + @test: + nop +.endif @halt: jmp @halt .endproc -- cgit v1.2.3