Skip to content

Commit 2229208

Browse files
committed
Update tests for TAB fixing
1 parent ab9ff3f commit 2229208

55 files changed

Lines changed: 159 additions & 159 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/functional/astore16.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -932,12 +932,12 @@ __PRINT_COM:
932932
ret
933933
__PRINT_TAB:
934934
ld hl, __PRINT_TAB1
935-
jp __PRINT_SET_STATE
935+
jr __PRINT_SET_STATE
936936
__PRINT_TAB1:
937937
ld (MEM0), a
938+
exx
938939
ld hl, __PRINT_TAB2
939-
ld (PRINT_JUMP_STATE), hl
940-
ret
940+
jr __PRINT_SET_STATE
941941
__PRINT_TAB2:
942942
ld a, (MEM0) ; Load tab code (ignore the current one)
943943
push hl

tests/functional/code00.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -985,12 +985,12 @@ __PRINT_COM:
985985
ret
986986
__PRINT_TAB:
987987
ld hl, __PRINT_TAB1
988-
jp __PRINT_SET_STATE
988+
jr __PRINT_SET_STATE
989989
__PRINT_TAB1:
990990
ld (MEM0), a
991+
exx
991992
ld hl, __PRINT_TAB2
992-
ld (PRINT_JUMP_STATE), hl
993-
ret
993+
jr __PRINT_SET_STATE
994994
__PRINT_TAB2:
995995
ld a, (MEM0) ; Load tab code (ignore the current one)
996996
push hl

tests/functional/code01.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -985,12 +985,12 @@ __PRINT_COM:
985985
ret
986986
__PRINT_TAB:
987987
ld hl, __PRINT_TAB1
988-
jp __PRINT_SET_STATE
988+
jr __PRINT_SET_STATE
989989
__PRINT_TAB1:
990990
ld (MEM0), a
991+
exx
991992
ld hl, __PRINT_TAB2
992-
ld (PRINT_JUMP_STATE), hl
993-
ret
993+
jr __PRINT_SET_STATE
994994
__PRINT_TAB2:
995995
ld a, (MEM0) ; Load tab code (ignore the current one)
996996
push hl

tests/functional/code02.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -985,12 +985,12 @@ __PRINT_COM:
985985
ret
986986
__PRINT_TAB:
987987
ld hl, __PRINT_TAB1
988-
jp __PRINT_SET_STATE
988+
jr __PRINT_SET_STATE
989989
__PRINT_TAB1:
990990
ld (MEM0), a
991+
exx
991992
ld hl, __PRINT_TAB2
992-
ld (PRINT_JUMP_STATE), hl
993-
ret
993+
jr __PRINT_SET_STATE
994994
__PRINT_TAB2:
995995
ld a, (MEM0) ; Load tab code (ignore the current one)
996996
push hl

tests/functional/einarattr.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,12 +707,12 @@ __PRINT_COM:
707707
ret
708708
__PRINT_TAB:
709709
ld hl, __PRINT_TAB1
710-
jp __PRINT_SET_STATE
710+
jr __PRINT_SET_STATE
711711
__PRINT_TAB1:
712712
ld (MEM0), a
713+
exx
713714
ld hl, __PRINT_TAB2
714-
ld (PRINT_JUMP_STATE), hl
715-
ret
715+
jr __PRINT_SET_STATE
716716
__PRINT_TAB2:
717717
ld a, (MEM0) ; Load tab code (ignore the current one)
718718
push hl

tests/functional/einarshift.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -745,12 +745,12 @@ __PRINT_COM:
745745
ret
746746
__PRINT_TAB:
747747
ld hl, __PRINT_TAB1
748-
jp __PRINT_SET_STATE
748+
jr __PRINT_SET_STATE
749749
__PRINT_TAB1:
750750
ld (MEM0), a
751+
exx
751752
ld hl, __PRINT_TAB2
752-
ld (PRINT_JUMP_STATE), hl
753-
ret
753+
jr __PRINT_SET_STATE
754754
__PRINT_TAB2:
755755
ld a, (MEM0) ; Load tab code (ignore the current one)
756756
push hl

tests/functional/fact.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -902,12 +902,12 @@ __PRINT_COM:
902902
ret
903903
__PRINT_TAB:
904904
ld hl, __PRINT_TAB1
905-
jp __PRINT_SET_STATE
905+
jr __PRINT_SET_STATE
906906
__PRINT_TAB1:
907907
ld (MEM0), a
908+
exx
908909
ld hl, __PRINT_TAB2
909-
ld (PRINT_JUMP_STATE), hl
910-
ret
910+
jr __PRINT_SET_STATE
911911
__PRINT_TAB2:
912912
ld a, (MEM0) ; Load tab code (ignore the current one)
913913
push hl

tests/functional/for0.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -782,12 +782,12 @@ __PRINT_COM:
782782
ret
783783
__PRINT_TAB:
784784
ld hl, __PRINT_TAB1
785-
jp __PRINT_SET_STATE
785+
jr __PRINT_SET_STATE
786786
__PRINT_TAB1:
787787
ld (MEM0), a
788+
exx
788789
ld hl, __PRINT_TAB2
789-
ld (PRINT_JUMP_STATE), hl
790-
ret
790+
jr __PRINT_SET_STATE
791791
__PRINT_TAB2:
792792
ld a, (MEM0) ; Load tab code (ignore the current one)
793793
push hl

tests/functional/ifelse1.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,12 +758,12 @@ __PRINT_COM:
758758
ret
759759
__PRINT_TAB:
760760
ld hl, __PRINT_TAB1
761-
jp __PRINT_SET_STATE
761+
jr __PRINT_SET_STATE
762762
__PRINT_TAB1:
763763
ld (MEM0), a
764+
exx
764765
ld hl, __PRINT_TAB2
765-
ld (PRINT_JUMP_STATE), hl
766-
ret
766+
jr __PRINT_SET_STATE
767767
__PRINT_TAB2:
768768
ld a, (MEM0) ; Load tab code (ignore the current one)
769769
push hl

tests/functional/ifwhilex.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,12 +771,12 @@ __PRINT_COM:
771771
ret
772772
__PRINT_TAB:
773773
ld hl, __PRINT_TAB1
774-
jp __PRINT_SET_STATE
774+
jr __PRINT_SET_STATE
775775
__PRINT_TAB1:
776776
ld (MEM0), a
777+
exx
777778
ld hl, __PRINT_TAB2
778-
ld (PRINT_JUMP_STATE), hl
779-
ret
779+
jr __PRINT_SET_STATE
780780
__PRINT_TAB2:
781781
ld a, (MEM0) ; Load tab code (ignore the current one)
782782
push hl

0 commit comments

Comments
 (0)