1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-08-02 09:29:35 +00:00

Added two missing signed word fragments.

This commit is contained in:
jespergravgaard 2019-03-11 07:49:41 +01:00
parent 3090fe4849
commit 8a560a294b
3 changed files with 16 additions and 0 deletions

View File

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

View File

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

View File

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