diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2023-12-12 20:03:06 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2023-12-12 20:03:17 +0100 |
| commit | 63897b552fc0d0a2544a547318017485ed220c67 (patch) | |
| tree | 2cc609226ce0a557012b061c65091750f2520c4c /vendor | |
| parent | 46103595c072651ade490c48c417f5d8d7ba9327 (diff) | |
| download | aoc2023.nes-63897b552fc0d0a2544a547318017485ed220c67.tar.gz aoc2023.nes-63897b552fc0d0a2544a547318017485ed220c67.zip | |
Implemented day 3
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à <msabate@suse.com>
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/bcd16.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/bcd16.s b/vendor/bcd16.s index 452b294..7839eaf 100644 --- a/vendor/bcd16.s +++ b/vendor/bcd16.s @@ -13,6 +13,10 @@ .p02 +;; Define so you can better manage code that you want included whenever this +;; feature has been included. +BCD16_SUPPORT = 1 + .exportzp bcdNum, bcdResult .export bcdConvert |
