From f185c80a1675909c95670377b4c96f7a77bf090e Mon Sep 17 00:00:00 2001 From: hugova Date: Mon, 24 Mar 2025 20:16:52 +0100 Subject: [PATCH] Add code skeleton for the binary-tree-api:s unittest --- wip-hugo/macros/16aritmatic.s | 1 + wip-hugo/routines/line/line_down_inv.s | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wip-hugo/macros/16aritmatic.s b/wip-hugo/macros/16aritmatic.s index 8079493..429cd13 100755 --- a/wip-hugo/macros/16aritmatic.s +++ b/wip-hugo/macros/16aritmatic.s @@ -80,6 +80,7 @@ ;;Larger then operation, uses the A register ;;IF a < b then: jump to label +; C =0 if jump to LABEL .macro Lag_16 a_low, a_hi, b_low, b_hi, label ; [low, hi] = [low, hi]*2 LDA a_hi CMP b_hi diff --git a/wip-hugo/routines/line/line_down_inv.s b/wip-hugo/routines/line/line_down_inv.s index 5fa7823..235a823 100644 --- a/wip-hugo/routines/line/line_down_inv.s +++ b/wip-hugo/routines/line/line_down_inv.s @@ -65,8 +65,8 @@ increment_y_pos_end: ;;If D < %00000010 00000000: case_2 ;;else case 1. Lag_16 >D, D, V, D, V,