1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-28 16:31:36 +00:00

Added two additional signed word fragments.

This commit is contained in:
Jesper Gravgaard 2019-03-11 11:09:12 +01:00
parent 8a560a294b
commit ea98c9e2eb
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,7 @@
sec
lda {c1},x
sbc {z1}
sta {c1},x
lda {c1}+1,x
sbc #0
sta {c1}+1,x

View File

@ -0,0 +1,7 @@
sec
lda {c1},y
sbc {z1}
sta {c1},y
lda {c1}+1,y
sbc #0
sta {c1}+1,y

View File

@ -141,6 +141,8 @@ public class TestFragments {
testFragmentExists("pwsc1_derefidx_vbuyy=vwsc2");
testFragmentExists("pwsc1_derefidx_vbuxx=pwsc1_derefidx_vbuxx_minus_vbuc2");
testFragmentExists("pwsc1_derefidx_vbuyy=pwsc1_derefidx_vbuyy_minus_vbuc2");
testFragmentExists("pwsc1_derefidx_vbuxx=pwsc1_derefidx_vbuxx_minus_vbuz1");
testFragmentExists("pwsc1_derefidx_vbuyy=pwsc1_derefidx_vbuyy_minus_vbuz1");
}
/**