1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-08 17:54:40 +00:00

Fixed failing test.

This commit is contained in:
jespergravgaard 2020-02-28 00:16:12 +01:00
parent ce7e6d29cb
commit 4346790c43
3 changed files with 18 additions and 14 deletions

View File

@ -0,0 +1,4 @@
lda #0
pha
lda #<{c1}
pha

View File

@ -10,11 +10,11 @@
main: {
.label __0 = 2
// plus('0', 7)
lda #>'0'
lda #0
pha
lda #<'0'
pha
lda #>7
lda #0
pha
lda #<7
pha

View File

@ -196,13 +196,13 @@ __bend:
main: {
.label __0 = 2
// [5] callprepare plus (byte) '0' (byte) 7
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vwuc1
lda #>'0'
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vbuc1
lda #0
pha
lda #<'0'
pha
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vwuc1
lda #>7
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vbuc1
lda #0
pha
lda #<7
pha
@ -331,13 +331,13 @@ __bend:
main: {
.label __0 = 2
// [5] callprepare plus (byte) '0' (byte) 7
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vwuc1
lda #>'0'
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vbuc1
lda #0
pha
lda #<'0'
pha
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vwuc1
lda #>7
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vbuc1
lda #0
pha
lda #<7
pha
@ -481,13 +481,13 @@ main: {
.label __0 = 2
// plus('0', 7)
// [5] callprepare plus (byte) '0' (byte) 7
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vwuc1
lda #>'0'
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vbuc1
lda #0
pha
lda #<'0'
pha
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vwuc1
lda #>7
// [5] callprepare plus (byte) '0' (byte) 7 -- _stackpushword_=vbuc1
lda #0
pha
lda #<7
pha