1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-25 20:32:25 +00:00

Added missing fragments. Aligned clc sequence. Closes #539

This commit is contained in:
jespergravgaard 2020-10-12 20:28:00 +02:00
parent 724ea3e235
commit 26a25364c2
167 changed files with 504 additions and 491 deletions

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE 1098941965 1098943491
//KICKC FRAGMENT CACHE 112243579e 11224372f4
//FRAGMENT vbuz1=vbuc1
lda #{c1}
sta {z1}
@ -119,8 +119,8 @@ lda {c1},y
ldy #0
sta ({z1}),y
//FRAGMENT pbuz1=_inc_pbuz2
lda {z2}
clc
lda {z2}
adc #1
sta {z1}
lda {z2}+1
@ -301,8 +301,8 @@ lda {z1}
cmp {z2}
bcs {la1}
//FRAGMENT pbuz1=pbuz2_plus_vwuc1
lda {z2}
clc
lda {z2}
adc #<{c1}
sta {z1}
lda {z2}+1

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE 1098941965 1098943491
//KICKC FRAGMENT CACHE 112243579e 11224372f4
//FRAGMENT _deref_pbuc1=vbuc2
lda #{c2}
sta {c1}
@ -1217,8 +1217,8 @@ rol {z1}+1
asl {z1}
rol {z1}+1
//FRAGMENT pbuz1=pbuc1_plus_vwuz2
lda {z2}
clc
lda {z2}
adc #<{c1}
sta {z1}
lda {z2}+1
@ -1263,8 +1263,8 @@ lda {z1}+1
sbc #0
sta {z1}+1
//FRAGMENT pbuz1=pbuz2_plus_vwuc1
lda {z2}
clc
lda {z2}
adc #<{c1}
sta {z1}
lda {z2}+1

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE 1098941965 1098943491
//KICKC FRAGMENT CACHE 112243579e 11224372f4
//FRAGMENT vbuz1=vbuc1
lda #{c1}
sta {z1}

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE 1098941965 1098943491
//KICKC FRAGMENT CACHE 112243579e 11224372f4
//FRAGMENT vbuz1=_deref_pbuc1
lda {c1}
sta {z1}

View File

@ -1,6 +1,6 @@
ldy #0
lda ({z2}),y
clc
lda ({z2}),y
adc #<{c1}
sta {m1}
iny

View File

@ -1,5 +1,5 @@
lda {m1}
clc
lda {m1}
adc #1
sta {m1}
bcc !+

View File

@ -1,5 +1,5 @@
lda {m2}
clc
lda {m2}
adc #1
sta {m1}
bcc !+

View File

@ -1,5 +1,5 @@
lda {m2}
clc
lda {m2}
adc #<{c1}
sta {m1}
lda {m2}+1

View File

@ -1,5 +1,5 @@
lda {m2}
clc
lda {m2}
adc #<{c1}
sta {m1}
lda {m2}+1

View File

@ -1,6 +1,6 @@
ldy #0
lda ({z1}),y
clc
lda ({z1}),y
adc #<{c1}
pha
iny

View File

@ -1,5 +1,5 @@
clc
ldy #0
clc
lda {c1},x
adc ({z1}),y
pha

View File

@ -0,0 +1,7 @@
clc
lda {c1}
adc #1
sta {m1}
lda {c1}+1
adc #0
sta {m1}+1

View File

@ -0,0 +1,6 @@
clc
adc {c1}
sta {m1}
lda #0
adc {c1}+1
sta {m1}+1

View File

@ -1,5 +1,5 @@
lda {c1},x
clc
lda {c1},x
adc #1
sta {m1}
lda {c1}+1,x

View File

@ -1,5 +1,5 @@
lda {c1},x
clc
lda {c1},x
adc {c1},y
sta {m1}
lda {c1}+1,x

View File

@ -1,5 +1,5 @@
lda {c1},y
clc
lda {c1},y
adc #1
sta {m1}
lda {c1}+1,y

View File

@ -1,5 +1,5 @@
lda {c1},y
clc
lda {c1},y
adc {c1},x
sta {m1}
lda {c1}+1,y

View File

@ -1,5 +1,5 @@
lda ({z2}),y
clc
lda ({z2}),y
adc #1
sta {m1}
iny

View File

@ -1,5 +1,5 @@
lda {m2}
clc
lda {m2}
adc #1
sta {m1}
lda {m2}+1

View File

@ -1,5 +1,5 @@
lda {m2}
clc
lda {m2}
adc {c1}
sta {m1}
lda {m2}+1

View File

@ -1,5 +1,5 @@
lda {m2}
clc
lda {m2}
adc #<{c1}
sta {m1}
lda {m2}+1

View File

@ -560,8 +560,8 @@ memcpy: {
.label source = 7
.label destination = $11
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -4681,8 +4681,8 @@ memcpy: {
.label source = 7
.label destination = $11
// [141] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -6012,8 +6012,8 @@ memcpy: {
.label destination = $11
// src_end = (char*)source+num
// [141] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -70,8 +70,8 @@ main: {
sta.z circle.r+1
jsr circle
// i += 5
lda.z i
clc
lda.z i
adc #<5
sta.z i
lda.z i+1
@ -195,8 +195,8 @@ circle: {
adc.z __6+1
sta.z __7+1
// p = p + ((x-y) << 2) + 10
lda.z p
clc
lda.z p
adc #<$a
sta.z p
lda.z p+1
@ -204,8 +204,8 @@ circle: {
sta.z p+1
__b4:
// plot(xc+x,yc-y)
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
@ -236,15 +236,15 @@ circle: {
sta.z plot.y+1
jsr plot
// plot(xc+x,yc+y)
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
adc #>xc
sta.z plot.x+1
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -259,8 +259,8 @@ circle: {
lda #>xc
sbc.z x1+1
sta.z plot.x+1
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -268,8 +268,8 @@ circle: {
sta.z plot.y+1
jsr plot
// plot(xc+y,yc-x)
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
@ -300,15 +300,15 @@ circle: {
sta.z plot.y+1
jsr plot
// plot(xc+y,yc+x)
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
adc #>xc
sta.z plot.x+1
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -323,8 +323,8 @@ circle: {
lda #>xc
sbc.z y+1
sta.z plot.x+1
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -356,8 +356,8 @@ circle: {
adc.z __9+1
sta.z __10+1
// p = p + (x << 2) + 6
lda.z p
clc
lda.z p
adc #<6
sta.z p
lda.z p+1

View File

@ -1372,8 +1372,8 @@ main: {
// main::@6
__b6:
// [12] main::i#1 = main::i#2 + 5 -- vwsz1=vwsz1_plus_vbsc1
lda.z i
clc
lda.z i
adc #<5
sta.z i
lda.z i+1
@ -1525,8 +1525,8 @@ circle: {
adc.z __6+1
sta.z __7+1
// [30] circle::p#2 = circle::$7 + $a -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<$a
sta.z p
lda.z p+1
@ -1541,8 +1541,8 @@ circle: {
// circle::@4
__b4:
// [32] plot::x#0 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
@ -1591,16 +1591,16 @@ circle: {
// circle::@7
__b7:
// [38] plot::x#2 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
adc #>xc
sta.z plot.x+1
// [39] plot::y#2 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -1624,8 +1624,8 @@ circle: {
sbc.z x1+1
sta.z plot.x+1
// [42] plot::y#3 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -1641,8 +1641,8 @@ circle: {
// circle::@9
__b9:
// [44] plot::x#4 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
@ -1691,16 +1691,16 @@ circle: {
// circle::@11
__b11:
// [50] plot::x#6 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
adc #>xc
sta.z plot.x+1
// [51] plot::y#6 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -1724,8 +1724,8 @@ circle: {
sbc.z y+1
sta.z plot.x+1
// [54] plot::y#7 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -1771,8 +1771,8 @@ circle: {
adc.z __9+1
sta.z __10+1
// [59] circle::p#1 = circle::$10 + 6 -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<6
sta.z p
lda.z p+1
@ -2212,8 +2212,8 @@ main: {
// main::@6
// i += 5
// [12] main::i#1 = main::i#2 + 5 -- vwsz1=vwsz1_plus_vbsc1
lda.z i
clc
lda.z i
adc #<5
sta.z i
lda.z i+1
@ -2369,8 +2369,8 @@ circle: {
sta.z __7+1
// p = p + ((x-y) << 2) + 10
// [30] circle::p#2 = circle::$7 + $a -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<$a
sta.z p
lda.z p+1
@ -2383,8 +2383,8 @@ circle: {
__b4:
// plot(xc+x,yc-y)
// [32] plot::x#0 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
@ -2429,16 +2429,16 @@ circle: {
// circle::@7
// plot(xc+x,yc+y)
// [38] plot::x#2 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
adc #>xc
sta.z plot.x+1
// [39] plot::y#2 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -2460,8 +2460,8 @@ circle: {
sbc.z x1+1
sta.z plot.x+1
// [42] plot::y#3 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -2475,8 +2475,8 @@ circle: {
// circle::@9
// plot(xc+y,yc-x)
// [44] plot::x#4 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
@ -2521,16 +2521,16 @@ circle: {
// circle::@11
// plot(xc+y,yc+x)
// [50] plot::x#6 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
adc #>xc
sta.z plot.x+1
// [51] plot::y#6 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -2552,8 +2552,8 @@ circle: {
sbc.z y+1
sta.z plot.x+1
// [54] plot::y#7 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -2599,8 +2599,8 @@ circle: {
sta.z __10+1
// p = p + (x << 2) + 6
// [59] circle::p#1 = circle::$10 + 6 -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<6
sta.z p
lda.z p+1

View File

@ -157,8 +157,8 @@ circle: {
adc.z __6+1
sta.z __7+1
// p = p + ((x-y) << 2) + 10
lda.z p
clc
lda.z p
adc #<$a
sta.z p
lda.z p+1
@ -166,8 +166,8 @@ circle: {
sta.z p+1
__b4:
// plot(xc+x,yc-y)
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
@ -198,15 +198,15 @@ circle: {
sta.z plot.y+1
jsr plot
// plot(xc+x,yc+y)
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
adc #>xc
sta.z plot.x+1
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -221,8 +221,8 @@ circle: {
lda #>xc
sbc.z x1+1
sta.z plot.x+1
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -230,8 +230,8 @@ circle: {
sta.z plot.y+1
jsr plot
// plot(xc+y,yc-x)
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
@ -262,15 +262,15 @@ circle: {
sta.z plot.y+1
jsr plot
// plot(xc+y,yc+x)
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
adc #>xc
sta.z plot.x+1
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -285,8 +285,8 @@ circle: {
lda #>xc
sbc.z y+1
sta.z plot.x+1
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -318,8 +318,8 @@ circle: {
adc.z __9+1
sta.z __10+1
// p = p + (x << 2) + 6
lda.z p
clc
lda.z p
adc #<6
sta.z p
lda.z p+1

View File

@ -1352,8 +1352,8 @@ circle: {
adc.z __6+1
sta.z __7+1
// [25] circle::p#2 = circle::$7 + $a -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<$a
sta.z p
lda.z p+1
@ -1368,8 +1368,8 @@ circle: {
// circle::@4
__b4:
// [27] plot::x#0 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
@ -1418,16 +1418,16 @@ circle: {
// circle::@7
__b7:
// [33] plot::x#2 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
adc #>xc
sta.z plot.x+1
// [34] plot::y#2 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -1451,8 +1451,8 @@ circle: {
sbc.z x1+1
sta.z plot.x+1
// [37] plot::y#3 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -1468,8 +1468,8 @@ circle: {
// circle::@9
__b9:
// [39] plot::x#4 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
@ -1518,16 +1518,16 @@ circle: {
// circle::@11
__b11:
// [45] plot::x#6 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
adc #>xc
sta.z plot.x+1
// [46] plot::y#6 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -1551,8 +1551,8 @@ circle: {
sbc.z y+1
sta.z plot.x+1
// [49] plot::y#7 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -1598,8 +1598,8 @@ circle: {
adc.z __9+1
sta.z __10+1
// [54] circle::p#1 = circle::$10 + 6 -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<6
sta.z p
lda.z p+1
@ -2090,8 +2090,8 @@ circle: {
sta.z __7+1
// p = p + ((x-y) << 2) + 10
// [25] circle::p#2 = circle::$7 + $a -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<$a
sta.z p
lda.z p+1
@ -2104,8 +2104,8 @@ circle: {
__b4:
// plot(xc+x,yc-y)
// [27] plot::x#0 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
@ -2150,16 +2150,16 @@ circle: {
// circle::@7
// plot(xc+x,yc+y)
// [33] plot::x#2 = circle::xc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<xc
sta.z plot.x
lda.z x1+1
adc #>xc
sta.z plot.x+1
// [34] plot::y#2 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -2181,8 +2181,8 @@ circle: {
sbc.z x1+1
sta.z plot.x+1
// [37] plot::y#3 = circle::yc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<yc
sta.z plot.y
lda.z y+1
@ -2196,8 +2196,8 @@ circle: {
// circle::@9
// plot(xc+y,yc-x)
// [39] plot::x#4 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
@ -2242,16 +2242,16 @@ circle: {
// circle::@11
// plot(xc+y,yc+x)
// [45] plot::x#6 = circle::xc#0 + circle::y#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z y
clc
lda.z y
adc #<xc
sta.z plot.x
lda.z y+1
adc #>xc
sta.z plot.x+1
// [46] plot::y#6 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -2273,8 +2273,8 @@ circle: {
sbc.z y+1
sta.z plot.x+1
// [49] plot::y#7 = circle::yc#0 + circle::x1#10 -- vwsz1=vwsc1_plus_vwsz2
lda.z x1
clc
lda.z x1
adc #<yc
sta.z plot.y
lda.z x1+1
@ -2320,8 +2320,8 @@ circle: {
sta.z __10+1
// p = p + (x << 2) + 6
// [54] circle::p#1 = circle::$10 + 6 -- vwsz1=vwsz1_plus_vbsc1
lda.z p
clc
lda.z p
adc #<6
sta.z p
lda.z p+1

View File

@ -219,8 +219,8 @@ main: {
ror.z __11+1
ror.z __11
// 100 + ((signed word)>ypos)>>2
lda.z y
clc
lda.z y
adc #<$64
sta.z y
lda.z y+1

View File

@ -4588,8 +4588,8 @@ main: {
ror.z __11+1
ror.z __11
// [43] main::y#0 = $64 + main::$11 -- vwsz1=vbsc1_plus_vwsz1
lda.z y
clc
lda.z y
adc #<$64
sta.z y
lda.z y+1
@ -6814,8 +6814,8 @@ main: {
ror.z __11
// 100 + ((signed word)>ypos)>>2
// [43] main::y#0 = $64 + main::$11 -- vwsz1=vbsc1_plus_vwsz1
lda.z y
clc
lda.z y
adc #<$64
sta.z y
lda.z y+1

View File

@ -22,8 +22,8 @@ main: {
sta.z idx+1
__b1:
// screen[idx] = STAR
lda.z idx
clc
lda.z idx
adc #<screen
sta.z __15
lda.z idx+1

View File

@ -423,8 +423,8 @@ main: {
// main::@1
__b1:
// [2] main::$15 = main::screen + main::idx#3 -- pbuz1=pbuc1_plus_vwuz2
lda.z idx
clc
lda.z idx
adc #<screen
sta.z __15
lda.z idx+1
@ -586,8 +586,8 @@ main: {
__b1:
// screen[idx] = STAR
// [2] main::$15 = main::screen + main::idx#3 -- pbuz1=pbuc1_plus_vwuz2
lda.z idx
clc
lda.z idx
adc #<screen
sta.z __15
lda.z idx+1

View File

@ -2792,8 +2792,8 @@ memset: {
.label dst = $1a
.label str = $1a
// end = (char*)str + num
lda.z str
clc
lda.z str
adc #<num
sta.z end
lda.z str+1

View File

@ -18520,8 +18520,8 @@ memset: {
// memset::@1
__b1:
// [761] memset::end#0 = (byte*)memset::str#0 + memset::num#0 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<num
sta.z end
lda.z str+1
@ -25673,8 +25673,8 @@ memset: {
// memset::@1
// end = (char*)str + num
// [761] memset::end#0 = (byte*)memset::str#0 + memset::num#0 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<num
sta.z end
lda.z str+1

View File

@ -475,8 +475,8 @@ memcpy: {
.label source = $12
.label destination = 8
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -4154,8 +4154,8 @@ memcpy: {
.label source = $12
.label destination = 8
// [121] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -5302,8 +5302,8 @@ memcpy: {
.label destination = 8
// src_end = (char*)source+num
// [121] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -170,8 +170,8 @@ print_uchar_at: {
and.z b
tay
// print_char_at(print_hextab[b&$f], at+1)
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1

View File

@ -883,8 +883,8 @@ print_uchar_at: {
and.z b
tay
// [37] print_char_at::at#1 = print_uchar_at::at#2 + 1 -- pbuz1=pbuz2_plus_1
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1
@ -1268,8 +1268,8 @@ print_uchar_at: {
tay
// print_char_at(print_hextab[b&$f], at+1)
// [37] print_char_at::at#1 = print_uchar_at::at#2 + 1 -- pbuz1=pbuz2_plus_1
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1

View File

@ -148,8 +148,8 @@ print_uchar_at: {
and.z b
tay
// print_char_at(print_hextab[b&$f], at+1)
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1

View File

@ -829,8 +829,8 @@ print_uchar_at: {
and.z b
tay
// [34] print_char_at::at#1 = print_uchar_at::at#2 + 1 -- pbuz1=pbuz2_plus_1
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1
@ -1182,8 +1182,8 @@ print_uchar_at: {
tay
// print_char_at(print_hextab[b&$f], at+1)
// [34] print_char_at::at#1 = print_uchar_at::at#2 + 1 -- pbuz1=pbuz2_plus_1
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1

View File

@ -634,8 +634,8 @@ memcpy: {
.label source = $10
.label destination = $12
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -5060,8 +5060,8 @@ memcpy: {
.label source = $10
.label destination = $12
// [164] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -6496,8 +6496,8 @@ memcpy: {
.label destination = $12
// src_end = (char*)source+num
// [164] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -548,15 +548,15 @@ main: {
jmp __b12
__b9:
// chrPtr[c]=vicPtr[c]
lda.z c_1
clc
lda.z c_1
adc #<$d000
sta.z __111
lda.z c_1+1
adc #>$d000
sta.z __111+1
lda.z c_1
clc
lda.z c_1
adc #<$f800
sta.z __112
lda.z c_1+1
@ -573,8 +573,8 @@ main: {
jmp __b8
__b7:
// scrPtr[c]=32
lda.z c
clc
lda.z c
adc #<$e000
sta.z __109
lda.z c+1
@ -584,8 +584,8 @@ main: {
ldy #0
sta (__109),y
// colPtr[c]=14
lda.z c
clc
lda.z c
adc #<$d800
sta.z __110
lda.z c+1

View File

@ -4120,16 +4120,16 @@ main: {
// main::@9
__b9:
// [101] main::$111 = (byte*) 53248 + main::c#11 -- pbuz1=pbuc1_plus_vwuz2
lda.z c_1
clc
lda.z c_1
adc #<$d000
sta.z __111
lda.z c_1+1
adc #>$d000
sta.z __111+1
// [102] main::$112 = (byte*) 63488 + main::c#11 -- pbuz1=pbuc1_plus_vwuz2
lda.z c_1
clc
lda.z c_1
adc #<$f800
sta.z __112
lda.z c_1+1
@ -4152,8 +4152,8 @@ main: {
// main::@7
__b7:
// [105] main::$109 = (byte*) 57344 + main::c#10 -- pbuz1=pbuc1_plus_vwuz2
lda.z c
clc
lda.z c
adc #<$e000
sta.z __109
lda.z c+1
@ -4164,8 +4164,8 @@ main: {
ldy #0
sta (__109),y
// [107] main::$110 = (byte*) 55296 + main::c#10 -- pbuz1=pbuc1_plus_vwuz2
lda.z c
clc
lda.z c
adc #<$d800
sta.z __110
lda.z c+1
@ -5440,16 +5440,16 @@ main: {
__b9:
// chrPtr[c]=vicPtr[c]
// [101] main::$111 = (byte*) 53248 + main::c#11 -- pbuz1=pbuc1_plus_vwuz2
lda.z c_1
clc
lda.z c_1
adc #<$d000
sta.z __111
lda.z c_1+1
adc #>$d000
sta.z __111+1
// [102] main::$112 = (byte*) 63488 + main::c#11 -- pbuz1=pbuc1_plus_vwuz2
lda.z c_1
clc
lda.z c_1
adc #<$f800
sta.z __112
lda.z c_1+1
@ -5472,8 +5472,8 @@ main: {
__b7:
// scrPtr[c]=32
// [105] main::$109 = (byte*) 57344 + main::c#10 -- pbuz1=pbuc1_plus_vwuz2
lda.z c
clc
lda.z c
adc #<$e000
sta.z __109
lda.z c+1
@ -5485,8 +5485,8 @@ main: {
sta (__109),y
// colPtr[c]=14
// [107] main::$110 = (byte*) 55296 + main::c#10 -- pbuz1=pbuc1_plus_vwuz2
lda.z c
clc
lda.z c
adc #<$d800
sta.z __110
lda.z c+1

View File

@ -1038,8 +1038,8 @@ startProcessing: {
inc.z offset+1
!:
// colPtr = COLS+offset
lda.z offset
clc
lda.z offset
adc #<COLS
sta.z colPtr
lda.z offset+1

View File

@ -6448,8 +6448,8 @@ startProcessing: {
inc.z offset+1
!:
// [207] startProcessing::colPtr#0 = COLS + startProcessing::offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z offset
clc
lda.z offset
adc #<COLS
sta.z colPtr
lda.z offset+1
@ -9153,8 +9153,8 @@ startProcessing: {
!:
// colPtr = COLS+offset
// [207] startProcessing::colPtr#0 = COLS + startProcessing::offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z offset
clc
lda.z offset
adc #<COLS
sta.z colPtr
lda.z offset+1

View File

@ -50,8 +50,8 @@ memcpy: {
.label source = 2
.label destination = 4
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$3e8
sta.z src_end
lda.z source+1

View File

@ -415,8 +415,8 @@ memcpy: {
.label source = 2
.label destination = 4
// [6] memcpy::src_end#0 = (byte*)memcpy::source#2 + $3e8 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$3e8
sta.z src_end
lda.z source+1
@ -601,8 +601,8 @@ memcpy: {
.label destination = 4
// src_end = (char*)source+num
// [6] memcpy::src_end#0 = (byte*)memcpy::source#2 + $3e8 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$3e8
sta.z src_end
lda.z source+1

View File

@ -374,8 +374,8 @@ main: {
rol.z __44+1
asl.z __44
rol.z __44+1
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __63
lda.z __44+1
@ -430,8 +430,8 @@ main: {
bcs __b9
!:
// balls[i].x_velocity ^= 0xFFFF
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __71
lda.z __44+1
@ -447,8 +447,8 @@ main: {
sta (__71),y
__b9:
// balls[i].y_position >> 8
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __69
lda.z __44+1
@ -484,8 +484,8 @@ main: {
bcs __b10
!:
// balls[i].y_velocity ^= 0xFFFF
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __76
lda.z __44+1
@ -586,8 +586,8 @@ main: {
rol.z __36+1
asl.z __36
rol.z __36+1
lda.z __36
clc
lda.z __36
adc #<balls
sta.z __55
lda.z __36+1

View File

@ -3346,8 +3346,8 @@ main: {
asl.z __44
rol.z __44+1
// [71] main::$63 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __63
lda.z __44+1
@ -3406,8 +3406,8 @@ main: {
// main::@11
__b11:
// [77] main::$71 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __71
lda.z __44+1
@ -3426,8 +3426,8 @@ main: {
// main::@9
__b9:
// [79] main::$69 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __69
lda.z __44+1
@ -3472,8 +3472,8 @@ main: {
// main::@12
__b12:
// [85] main::$76 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __76
lda.z __44+1
@ -3600,8 +3600,8 @@ main: {
asl.z __36
rol.z __36+1
// [108] main::$55 = (word*)balls + main::$36 -- pwuz1=pwuc1_plus_vwuz2
lda.z __36
clc
lda.z __36
adc #<balls
sta.z __55
lda.z __36+1
@ -4743,8 +4743,8 @@ main: {
asl.z __44
rol.z __44+1
// [71] main::$63 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __63
lda.z __44+1
@ -4806,8 +4806,8 @@ main: {
// main::@11
// balls[i].x_velocity ^= 0xFFFF
// [77] main::$71 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __71
lda.z __44+1
@ -4826,8 +4826,8 @@ main: {
__b9:
// balls[i].y_position >> 8
// [79] main::$69 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __69
lda.z __44+1
@ -4871,8 +4871,8 @@ main: {
// main::@12
// balls[i].y_velocity ^= 0xFFFF
// [85] main::$76 = (word*)balls + main::$44 -- pwuz1=pwuc1_plus_vwuz2
lda.z __44
clc
lda.z __44
adc #<balls
sta.z __76
lda.z __44+1
@ -5005,8 +5005,8 @@ main: {
asl.z __36
rol.z __36+1
// [108] main::$55 = (word*)balls + main::$36 -- pwuz1=pwuc1_plus_vwuz2
lda.z __36
clc
lda.z __36
adc #<balls
sta.z __55
lda.z __36+1

View File

@ -120,8 +120,8 @@ main: {
jsr mulf8s
// mulf8s(r, COS[a])
// x = mulf8s(r, COS[a]) + 75*0x100
lda.z __10
clc
lda.z __10
adc #<$4b*$100
sta.z x
lda.z __10+1

View File

@ -5440,8 +5440,8 @@ main: {
__b12:
// [23] main::$10 = mulf8s::return#2
// [24] main::x#0 = main::$10 + (signed word)$4b*$100 -- vwsz1=vwsz2_plus_vwsc1
lda.z __10
clc
lda.z __10
adc #<$4b*$100
sta.z x
lda.z __10+1
@ -7705,8 +7705,8 @@ main: {
// [23] main::$10 = mulf8s::return#2
// x = mulf8s(r, COS[a]) + 75*0x100
// [24] main::x#0 = main::$10 + (signed word)$4b*$100 -- vwsz1=vwsz2_plus_vwsc1
lda.z __10
clc
lda.z __10
adc #<$4b*$100
sta.z x
lda.z __10+1

View File

@ -364,15 +364,15 @@ show_letter: {
// rotate(to, angle)
// to = rotate(to, angle)
// to = { to.x + 100, to.y + 100}
lda.z to_x_1
clc
lda.z to_x_1
adc #<$64
sta.z current_x_1
lda.z to_x_1+1
adc #>$64
sta.z current_x_1+1
lda.z to_y_1
clc
lda.z to_y_1
adc #<$64
sta.z current_y_1
lda.z to_y_1+1
@ -409,15 +409,15 @@ show_letter: {
// rotate(via, angle)
// via = rotate(via, angle)
// via = { via.x + 100, via.y + 100}
lda.z segment_via_x
clc
lda.z segment_via_x
adc #<$64
sta.z segment_via_x
lda.z segment_via_x+1
adc #>$64
sta.z segment_via_x+1
lda.z segment_via_y
clc
lda.z segment_via_y
adc #<$64
sta.z segment_via_y
lda.z segment_via_y+1
@ -1037,8 +1037,8 @@ spline_8segB: {
tay
__b1:
// p.x+0x20
lda.z p_x
clc
lda.z p_x
adc #<$20
sta.z __22
lda.z p_x+1
@ -1062,8 +1062,8 @@ spline_8segB: {
rol.z __23
rol.z __23+1
// p.y+0x20
lda.z p_y
clc
lda.z p_y
adc #<$20
sta.z __24
lda.z p_y+1
@ -1136,8 +1136,8 @@ spline_8segB: {
jmp __b1
!__b1:
// p.x+0x20
lda.z __18
clc
lda.z __18
adc #<$20
sta.z __18
lda.z __18+1
@ -1161,8 +1161,8 @@ spline_8segB: {
rol.z __19
rol.z __19+1
// p.y+0x20
lda.z __20
clc
lda.z __20
adc #<$20
sta.z __20
lda.z __20+1

View File

@ -6334,16 +6334,16 @@ show_letter: {
// [93] show_letter::to_x#2 = rotate::return_x#0
// [94] show_letter::to_y#2 = rotate::return_y#0
// [95] show_letter::current_x#10 = show_letter::to_x#2 + $64 -- vwsz1=vwsz2_plus_vbsc1
lda.z to_x_1
clc
lda.z to_x_1
adc #<$64
sta.z current_x_1
lda.z to_x_1+1
adc #>$64
sta.z current_x_1+1
// [96] show_letter::current_y#10 = show_letter::to_y#2 + $64 -- vwsz1=vwsz2_plus_vbsc1
lda.z to_y_1
clc
lda.z to_y_1
adc #<$64
sta.z current_y_1
lda.z to_y_1+1
@ -6396,16 +6396,16 @@ show_letter: {
// [107] show_letter::via_x#2 = rotate::return_x#1
// [108] show_letter::via_y#2 = rotate::return_y#1
// [109] show_letter::segment_via_x#0 = show_letter::via_x#2 + $64 -- vwsz1=vwsz1_plus_vbsc1
lda.z segment_via_x
clc
lda.z segment_via_x
adc #<$64
sta.z segment_via_x
lda.z segment_via_x+1
adc #>$64
sta.z segment_via_x+1
// [110] show_letter::segment_via_y#0 = show_letter::via_y#2 + $64 -- vwsz1=vwsz1_plus_vbsc1
lda.z segment_via_y
clc
lda.z segment_via_y
adc #<$64
sta.z segment_via_y
lda.z segment_via_y+1
@ -7264,8 +7264,8 @@ spline_8segB: {
// spline_8segB::@1
__b1:
// [251] spline_8segB::$22 = spline_8segB::p_x#2 + $20 -- vwsz1=vwsz2_plus_vbsc1
lda.z p_x
clc
lda.z p_x
adc #<$20
sta.z __22
lda.z p_x+1
@ -7289,8 +7289,8 @@ spline_8segB: {
rol.z __23
rol.z __23+1
// [253] spline_8segB::$24 = spline_8segB::p_y#2 + $20 -- vwsz1=vwsz2_plus_vbsc1
lda.z p_y
clc
lda.z p_y
adc #<$20
sta.z __24
lda.z p_y+1
@ -7369,8 +7369,8 @@ spline_8segB: {
// spline_8segB::@2
__b2:
// [264] spline_8segB::$18 = spline_8segB::p_x#1 + $20 -- vwsz1=vwsz1_plus_vbsc1
lda.z __18
clc
lda.z __18
adc #<$20
sta.z __18
lda.z __18+1
@ -7394,8 +7394,8 @@ spline_8segB: {
rol.z __19
rol.z __19+1
// [266] spline_8segB::$20 = spline_8segB::p_y#1 + $20 -- vwsz1=vwsz1_plus_vbsc1
lda.z __20
clc
lda.z __20
adc #<$20
sta.z __20
lda.z __20+1
@ -9268,16 +9268,16 @@ show_letter: {
// [94] show_letter::to_y#2 = rotate::return_y#0
// to = { to.x + 100, to.y + 100}
// [95] show_letter::current_x#10 = show_letter::to_x#2 + $64 -- vwsz1=vwsz2_plus_vbsc1
lda.z to_x_1
clc
lda.z to_x_1
adc #<$64
sta.z current_x_1
lda.z to_x_1+1
adc #>$64
sta.z current_x_1+1
// [96] show_letter::current_y#10 = show_letter::to_y#2 + $64 -- vwsz1=vwsz2_plus_vbsc1
lda.z to_y_1
clc
lda.z to_y_1
adc #<$64
sta.z current_y_1
lda.z to_y_1+1
@ -9332,16 +9332,16 @@ show_letter: {
// [108] show_letter::via_y#2 = rotate::return_y#1
// via = { via.x + 100, via.y + 100}
// [109] show_letter::segment_via_x#0 = show_letter::via_x#2 + $64 -- vwsz1=vwsz1_plus_vbsc1
lda.z segment_via_x
clc
lda.z segment_via_x
adc #<$64
sta.z segment_via_x
lda.z segment_via_x+1
adc #>$64
sta.z segment_via_x+1
// [110] show_letter::segment_via_y#0 = show_letter::via_y#2 + $64 -- vwsz1=vwsz1_plus_vbsc1
lda.z segment_via_y
clc
lda.z segment_via_y
adc #<$64
sta.z segment_via_y
lda.z segment_via_y+1
@ -10204,8 +10204,8 @@ spline_8segB: {
__b1:
// p.x+0x20
// [251] spline_8segB::$22 = spline_8segB::p_x#2 + $20 -- vwsz1=vwsz2_plus_vbsc1
lda.z p_x
clc
lda.z p_x
adc #<$20
sta.z __22
lda.z p_x+1
@ -10231,8 +10231,8 @@ spline_8segB: {
rol.z __23+1
// p.y+0x20
// [253] spline_8segB::$24 = spline_8segB::p_y#2 + $20 -- vwsz1=vwsz2_plus_vbsc1
lda.z p_y
clc
lda.z p_y
adc #<$20
sta.z __24
lda.z p_y+1
@ -10317,8 +10317,8 @@ spline_8segB: {
// spline_8segB::@2
// p.x+0x20
// [264] spline_8segB::$18 = spline_8segB::p_x#1 + $20 -- vwsz1=vwsz1_plus_vbsc1
lda.z __18
clc
lda.z __18
adc #<$20
sta.z __18
lda.z __18+1
@ -10344,8 +10344,8 @@ spline_8segB: {
rol.z __19+1
// p.y+0x20
// [266] spline_8segB::$20 = spline_8segB::p_y#1 + $20 -- vwsz1=vwsz1_plus_vbsc1
lda.z __20
clc
lda.z __20
adc #<$20
sta.z __20
lda.z __20+1

View File

@ -379,8 +379,8 @@ font_2x2: {
sta.z next_2x2_left+1
__b1:
// next_2x2_right = next_2x2 + 0x40*8
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$40*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -467,16 +467,16 @@ font_2x2: {
cmp.z l2
bne __b8
// next_2x2_left = next_2x2 + 0x80*8
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$80*8
sta.z next_2x2_left_1
lda.z next_2x2_left+1
adc #>$80*8
sta.z next_2x2_left_1+1
// next_2x2_right = next_2x2 + 0xc0*8
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$c0*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -547,8 +547,8 @@ font_2x2_to_sprites: {
rts
__b2:
// char_right = char_current + 0x40*8
lda.z char_current
clc
lda.z char_current
adc #<$40*8
sta.z char_right
lda.z char_current+1
@ -625,16 +625,16 @@ font_2x2_to_sprites: {
jmp __b1
__b4:
// char_left = char_current + 0x80*8
lda.z char_current
clc
lda.z char_current
adc #<$80*8
sta.z char_left
lda.z char_current+1
adc #>$80*8
sta.z char_left+1
// char_right = char_current + 0xc0*8
lda.z char_current
clc
lda.z char_current
adc #<$c0*8
sta.z char_right
lda.z char_current+1

View File

@ -4392,8 +4392,8 @@ font_2x2: {
// font_2x2::@1
__b1:
// [93] font_2x2::next_2x2_right#0 = font_2x2::next_2x2_left#0 + (word)$40*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$40*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -4533,16 +4533,16 @@ font_2x2: {
// font_2x2::@7
__b7:
// [121] font_2x2::next_2x2_left#1 = font_2x2::next_2x2_left#0 + (word)$80*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$80*8
sta.z next_2x2_left_1
lda.z next_2x2_left+1
adc #>$80*8
sta.z next_2x2_left_1+1
// [122] font_2x2::next_2x2_right#1 = font_2x2::next_2x2_left#0 + (word)$c0*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$c0*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -4645,8 +4645,8 @@ font_2x2_to_sprites: {
// font_2x2_to_sprites::@2
__b2:
// [135] font_2x2_to_sprites::char_right#0 = font_2x2_to_sprites::char_current#2 + (word)$40*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z char_current
clc
lda.z char_current
adc #<$40*8
sta.z char_right
lda.z char_current+1
@ -4770,16 +4770,16 @@ font_2x2_to_sprites: {
// font_2x2_to_sprites::@4
__b4:
// [154] font_2x2_to_sprites::char_left#1 = font_2x2_to_sprites::char_current#2 + (word)$80*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z char_current
clc
lda.z char_current
adc #<$80*8
sta.z char_left
lda.z char_current+1
adc #>$80*8
sta.z char_left+1
// [155] font_2x2_to_sprites::char_right#1 = font_2x2_to_sprites::char_current#2 + (word)$c0*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z char_current
clc
lda.z char_current
adc #<$c0*8
sta.z char_right
lda.z char_current+1
@ -6177,8 +6177,8 @@ font_2x2: {
__b1:
// next_2x2_right = next_2x2 + 0x40*8
// [93] font_2x2::next_2x2_right#0 = font_2x2::next_2x2_left#0 + (word)$40*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$40*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -6318,8 +6318,8 @@ font_2x2: {
// font_2x2::@7
// next_2x2_left = next_2x2 + 0x80*8
// [121] font_2x2::next_2x2_left#1 = font_2x2::next_2x2_left#0 + (word)$80*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$80*8
sta.z next_2x2_left_1
lda.z next_2x2_left+1
@ -6327,8 +6327,8 @@ font_2x2: {
sta.z next_2x2_left_1+1
// next_2x2_right = next_2x2 + 0xc0*8
// [122] font_2x2::next_2x2_right#1 = font_2x2::next_2x2_left#0 + (word)$c0*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$c0*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -6428,8 +6428,8 @@ font_2x2_to_sprites: {
__b2:
// char_right = char_current + 0x40*8
// [135] font_2x2_to_sprites::char_right#0 = font_2x2_to_sprites::char_current#2 + (word)$40*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z char_current
clc
lda.z char_current
adc #<$40*8
sta.z char_right
lda.z char_current+1
@ -6549,8 +6549,8 @@ font_2x2_to_sprites: {
__b4:
// char_left = char_current + 0x80*8
// [154] font_2x2_to_sprites::char_left#1 = font_2x2_to_sprites::char_current#2 + (word)$80*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z char_current
clc
lda.z char_current
adc #<$80*8
sta.z char_left
lda.z char_current+1
@ -6558,8 +6558,8 @@ font_2x2_to_sprites: {
sta.z char_left+1
// char_right = char_current + 0xc0*8
// [155] font_2x2_to_sprites::char_right#1 = font_2x2_to_sprites::char_current#2 + (word)$c0*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z char_current
clc
lda.z char_current
adc #<$c0*8
sta.z char_right
lda.z char_current+1

View File

@ -109,8 +109,8 @@ memset: {
.label dst = 6
.label str = 6
// end = (char*)str + num
lda.z str
clc
lda.z str
adc #<$28*$19
sta.z end
lda.z str+1

View File

@ -671,8 +671,8 @@ memset: {
// memset::@1
__b1:
// [18] memset::end#0 = (byte*)memset::str#3 + (word)$28*$19 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$28*$19
sta.z end
lda.z str+1
@ -961,8 +961,8 @@ memset: {
// memset::@1
// end = (char*)str + num
// [18] memset::end#0 = (byte*)memset::str#3 + (word)$28*$19 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$28*$19
sta.z end
lda.z str+1

View File

@ -406,8 +406,8 @@ main: {
// petscii_ptr(x_pos_coarse-20, y_pos_coarse+12)
// petscii = petscii_ptr(x_pos_coarse-20, y_pos_coarse+12)
// scrn = screen_hidden+24*40
lda.z screen_hidden
clc
lda.z screen_hidden
adc #<$18*$28
sta.z scrn
lda.z screen_hidden+1
@ -623,32 +623,32 @@ screencpy: {
adc.z dst+1
sta.z dst_250+1
// src_500 = src+500
lda.z src
clc
lda.z src
adc #<$1f4
sta.z src_500
lda.z src+1
adc #>$1f4
sta.z src_500+1
// dst_500 = dst+500
lda.z dst
clc
lda.z dst
adc #<$1f4
sta.z dst_500
lda.z dst+1
adc #>$1f4
sta.z dst_500+1
// src_750 = src+750
lda.z src
clc
lda.z src
adc #<$2ee
sta.z src_750
lda.z src+1
adc #>$2ee
sta.z src_750+1
// dst_750 = dst+750
lda.z dst
clc
lda.z dst
adc #<$2ee
sta.z dst_750
lda.z dst+1

View File

@ -4678,8 +4678,8 @@ main: {
__b34:
// [87] main::petscii#1 = petscii_ptr::return#0
// [88] main::scrn#1 = main::screen_hidden#0 + (word)$18*$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z screen_hidden
clc
lda.z screen_hidden
adc #<$18*$28
sta.z scrn
lda.z screen_hidden+1
@ -4937,32 +4937,32 @@ screencpy: {
adc.z dst+1
sta.z dst_250+1
// [123] screencpy::src_500#0 = screencpy::src#0 + $1f4 -- pbuz1=pbuz2_plus_vwuc1
lda.z src
clc
lda.z src
adc #<$1f4
sta.z src_500
lda.z src+1
adc #>$1f4
sta.z src_500+1
// [124] screencpy::dst_500#0 = screencpy::dst#0 + $1f4 -- pbuz1=pbuz2_plus_vwuc1
lda.z dst
clc
lda.z dst
adc #<$1f4
sta.z dst_500
lda.z dst+1
adc #>$1f4
sta.z dst_500+1
// [125] screencpy::src_750#0 = screencpy::src#0 + $2ee -- pbuz1=pbuz2_plus_vwuc1
lda.z src
clc
lda.z src
adc #<$2ee
sta.z src_750
lda.z src+1
adc #>$2ee
sta.z src_750+1
// [126] screencpy::dst_750#0 = screencpy::dst#0 + $2ee -- pbuz1=pbuz2_plus_vwuc1
lda.z dst
clc
lda.z dst
adc #<$2ee
sta.z dst_750
lda.z dst+1
@ -6037,8 +6037,8 @@ main: {
// [87] main::petscii#1 = petscii_ptr::return#0
// scrn = screen_hidden+24*40
// [88] main::scrn#1 = main::screen_hidden#0 + (word)$18*$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z screen_hidden
clc
lda.z screen_hidden
adc #<$18*$28
sta.z scrn
lda.z screen_hidden+1
@ -6303,8 +6303,8 @@ screencpy: {
sta.z dst_250+1
// src_500 = src+500
// [123] screencpy::src_500#0 = screencpy::src#0 + $1f4 -- pbuz1=pbuz2_plus_vwuc1
lda.z src
clc
lda.z src
adc #<$1f4
sta.z src_500
lda.z src+1
@ -6312,8 +6312,8 @@ screencpy: {
sta.z src_500+1
// dst_500 = dst+500
// [124] screencpy::dst_500#0 = screencpy::dst#0 + $1f4 -- pbuz1=pbuz2_plus_vwuc1
lda.z dst
clc
lda.z dst
adc #<$1f4
sta.z dst_500
lda.z dst+1
@ -6321,8 +6321,8 @@ screencpy: {
sta.z dst_500+1
// src_750 = src+750
// [125] screencpy::src_750#0 = screencpy::src#0 + $2ee -- pbuz1=pbuz2_plus_vwuc1
lda.z src
clc
lda.z src
adc #<$2ee
sta.z src_750
lda.z src+1
@ -6330,8 +6330,8 @@ screencpy: {
sta.z src_750+1
// dst_750 = dst+750
// [126] screencpy::dst_750#0 = screencpy::dst#0 + $2ee -- pbuz1=pbuz2_plus_vwuc1
lda.z dst
clc
lda.z dst
adc #<$2ee
sta.z dst_750
lda.z dst+1

View File

@ -1174,8 +1174,8 @@ memcpy: {
.label source = $14
.label destination = $1d
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -8941,8 +8941,8 @@ memcpy: {
.label source = $14
.label destination = $1d
// [311] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -11775,8 +11775,8 @@ memcpy: {
.label destination = $1d
// src_end = (char*)source+num
// [311] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -23,8 +23,8 @@ main: {
rts
__b2:
// screen[i] = 'a'
lda.z i
clc
lda.z i
adc #<screen
sta.z __1
lda.z i+1

View File

@ -164,8 +164,8 @@ main: {
// main::@2
__b2:
// [4] main::$1 = main::screen + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<screen
sta.z __1
lda.z i+1
@ -253,8 +253,8 @@ main: {
__b2:
// screen[i] = 'a'
// [4] main::$1 = main::screen + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<screen
sta.z __1
lda.z i+1

View File

@ -93,8 +93,8 @@ mulf_init: {
adc.z add+1
sta.z sqr+1
// add +=2
lda.z add
clc
lda.z add
adc #<2
sta.z add
lda.z add+1

View File

@ -1780,8 +1780,8 @@ mulf_init: {
adc.z add+1
sta.z sqr+1
// [22] mulf_init::add#1 = mulf_init::add#2 + 2 -- vwsz1=vwsz1_plus_vbsc1
lda.z add
clc
lda.z add
adc #<2
sta.z add
lda.z add+1
@ -2704,8 +2704,8 @@ mulf_init: {
sta.z sqr+1
// add +=2
// [22] mulf_init::add#1 = mulf_init::add#2 + 2 -- vwsz1=vwsz1_plus_vbsc1
lda.z add
clc
lda.z add
adc #<2
sta.z add
lda.z add+1

View File

@ -181,8 +181,8 @@ MakeNiceScreen: {
rts
__b2:
// strlen (T->Msg)
lda.z T
clc
lda.z T
adc #1
sta.z strlen.str
lda.z T+1
@ -199,8 +199,8 @@ MakeNiceScreen: {
lsr
tax
// cputsxy (X, T->Y, T->Msg)
lda.z T
clc
lda.z T
adc #1
sta.z cputsxy.s
lda.z T+1
@ -577,8 +577,8 @@ gotoxy: {
asl.z line_offset
rol.z line_offset+1
// CONIO_SCREEN_TEXT + line_offset
lda.z line_offset
clc
lda.z line_offset
adc #<DEFAULT_SCREEN
sta.z __5
lda.z line_offset+1
@ -763,8 +763,8 @@ memcpy: {
.label source = $b
.label destination = $17
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -3507,8 +3507,8 @@ MakeNiceScreen: {
// MakeNiceScreen::@2
__b2:
// [60] strlen::str#1 = (byte*)MakeNiceScreen::T#3 + 1 -- pbuz1=pbuz2_plus_1
lda.z T
clc
lda.z T
adc #1
sta.z strlen.str
lda.z T+1
@ -3533,8 +3533,8 @@ MakeNiceScreen: {
lsr
tax
// [67] cputsxy::s#0 = (byte*)MakeNiceScreen::T#3 + 1 -- pbuz1=pbuz2_plus_1
lda.z T
clc
lda.z T
adc #1
sta.z cputsxy.s
lda.z T+1
@ -4128,8 +4128,8 @@ gotoxy: {
asl.z line_offset
rol.z line_offset+1
// [163] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z line_offset
clc
lda.z line_offset
adc #<DEFAULT_SCREEN
sta.z __5
lda.z line_offset+1
@ -4424,8 +4424,8 @@ memcpy: {
.label source = $b
.label destination = $17
// [211] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -5328,8 +5328,8 @@ MakeNiceScreen: {
__b2:
// strlen (T->Msg)
// [60] strlen::str#1 = (byte*)MakeNiceScreen::T#3 + 1 -- pbuz1=pbuz2_plus_1
lda.z T
clc
lda.z T
adc #1
sta.z strlen.str
lda.z T+1
@ -5355,8 +5355,8 @@ MakeNiceScreen: {
tax
// cputsxy (X, T->Y, T->Msg)
// [67] cputsxy::s#0 = (byte*)MakeNiceScreen::T#3 + 1 -- pbuz1=pbuz2_plus_1
lda.z T
clc
lda.z T
adc #1
sta.z cputsxy.s
lda.z T+1
@ -5919,8 +5919,8 @@ gotoxy: {
rol.z line_offset+1
// CONIO_SCREEN_TEXT + line_offset
// [163] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z line_offset
clc
lda.z line_offset
adc #<DEFAULT_SCREEN
sta.z __5
lda.z line_offset+1
@ -6202,8 +6202,8 @@ memcpy: {
.label destination = $17
// src_end = (char*)source+num
// [211] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -1579,8 +1579,8 @@ memcpy: {
.label source = $1e
.label destination = $e
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -10284,8 +10284,8 @@ memcpy: {
.label source = $1e
.label destination = $e
// [391] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -13658,8 +13658,8 @@ memcpy: {
.label destination = $e
// src_end = (char*)source+num
// [391] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -1209,8 +1209,8 @@ memcpy: {
.label source = $15
.label destination = $1e
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -8981,8 +8981,8 @@ memcpy: {
.label source = $15
.label destination = $1e
// [311] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -11856,8 +11856,8 @@ memcpy: {
.label destination = $1e
// src_end = (char*)source+num
// [311] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -95,8 +95,8 @@ font_2x2: {
sta.z next_2x2_left+1
__b1:
// next_2x2_right = next_2x2 + 0x40*8
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$40*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -183,16 +183,16 @@ font_2x2: {
cmp.z l2
bne __b8
// next_2x2_left = next_2x2 + 0x80*8
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$80*8
sta.z next_2x2_left_1
lda.z next_2x2_left+1
adc #>$80*8
sta.z next_2x2_left_1+1
// next_2x2_right = next_2x2 + 0xc0*8
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$c0*8
sta.z next_2x2_right
lda.z next_2x2_left+1

View File

@ -2477,8 +2477,8 @@ font_2x2: {
// font_2x2::@1
__b1:
// [24] font_2x2::next_2x2_right#0 = font_2x2::next_2x2_left#0 + (word)$40*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$40*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -2618,16 +2618,16 @@ font_2x2: {
// font_2x2::@7
__b7:
// [52] font_2x2::next_2x2_left#1 = font_2x2::next_2x2_left#0 + (word)$80*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$80*8
sta.z next_2x2_left_1
lda.z next_2x2_left+1
adc #>$80*8
sta.z next_2x2_left_1+1
// [53] font_2x2::next_2x2_right#1 = font_2x2::next_2x2_left#0 + (word)$c0*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$c0*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -3525,8 +3525,8 @@ font_2x2: {
__b1:
// next_2x2_right = next_2x2 + 0x40*8
// [24] font_2x2::next_2x2_right#0 = font_2x2::next_2x2_left#0 + (word)$40*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$40*8
sta.z next_2x2_right
lda.z next_2x2_left+1
@ -3666,8 +3666,8 @@ font_2x2: {
// font_2x2::@7
// next_2x2_left = next_2x2 + 0x80*8
// [52] font_2x2::next_2x2_left#1 = font_2x2::next_2x2_left#0 + (word)$80*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$80*8
sta.z next_2x2_left_1
lda.z next_2x2_left+1
@ -3675,8 +3675,8 @@ font_2x2: {
sta.z next_2x2_left_1+1
// next_2x2_right = next_2x2 + 0xc0*8
// [53] font_2x2::next_2x2_right#1 = font_2x2::next_2x2_left#0 + (word)$c0*8 -- pbuz1=pbuz2_plus_vwuc1
lda.z next_2x2_left
clc
lda.z next_2x2_left
adc #<$c0*8
sta.z next_2x2_right
lda.z next_2x2_left+1

View File

@ -196,8 +196,8 @@ memcpy: {
.label source = 4
.label destination = $e
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -1425,8 +1425,8 @@ memcpy: {
.label source = 4
.label destination = $e
// [49] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1
@ -1960,8 +1960,8 @@ memcpy: {
.label destination = $e
// src_end = (char*)source+num
// [49] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$28-$28
sta.z src_end
lda.z source+1

View File

@ -149,8 +149,8 @@ gotoxy: {
asw line_offset
asw line_offset
// CONIO_SCREEN_TEXT + line_offset
lda.z line_offset
clc
lda.z line_offset
adc #<DEFAULT_SCREEN
sta.z __5
lda.z line_offset+1
@ -327,8 +327,8 @@ memcpy: {
.label source = 4
.label destination = $14
// src_end = (char*)source+num
lda.z source
clc
lda.z source
adc #<$19*$50-$50
sta.z src_end
lda.z source+1

View File

@ -1609,8 +1609,8 @@ gotoxy: {
asw line_offset
asw line_offset
// [33] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z line_offset
clc
lda.z line_offset
adc #<DEFAULT_SCREEN
sta.z __5
lda.z line_offset+1
@ -1870,8 +1870,8 @@ memcpy: {
.label source = 4
.label destination = $14
// [76] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$50-$50 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$50-$50
sta.z src_end
lda.z source+1
@ -2364,8 +2364,8 @@ gotoxy: {
asw line_offset
// CONIO_SCREEN_TEXT + line_offset
// [33] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z line_offset
clc
lda.z line_offset
adc #<DEFAULT_SCREEN
sta.z __5
lda.z line_offset+1
@ -2618,8 +2618,8 @@ memcpy: {
.label destination = $14
// src_end = (char*)source+num
// [76] memcpy::src_end#0 = (byte*)memcpy::source#2 + (word)$19*$50-$50 -- pbuz1=pbuz2_plus_vwuc1
lda.z source
clc
lda.z source
adc #<$19*$50-$50
sta.z src_end
lda.z source+1

View File

@ -109,8 +109,8 @@ main: {
inc.z offset+1
!:
// VISITS+offset
lda.z offset
clc
lda.z offset
adc #<VISITS
sta.z __6
lda.z offset+1
@ -210,8 +210,8 @@ memset: {
.label dst = 3
.label str = 3
// end = (char*)str + num
lda.z str
clc
lda.z str
adc #<$3e8
sta.z end
lda.z str+1

View File

@ -1293,8 +1293,8 @@ main: {
inc.z offset+1
!:
// [14] main::$6 = VISITS + main::offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z offset
clc
lda.z offset
adc #<VISITS
sta.z __6
lda.z offset+1
@ -1473,8 +1473,8 @@ memset: {
// memset::@1
__b1:
// [45] memset::end#0 = (byte*)memset::str#4 + $3e8 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$3e8
sta.z end
lda.z str+1
@ -1903,8 +1903,8 @@ main: {
!:
// VISITS+offset
// [14] main::$6 = VISITS + main::offset#0 -- pbuz1=pbuc1_plus_vwuz2
lda.z offset
clc
lda.z offset
adc #<VISITS
sta.z __6
lda.z offset+1
@ -2066,8 +2066,8 @@ memset: {
// memset::@1
// end = (char*)str + num
// [45] memset::end#0 = (byte*)memset::str#4 + $3e8 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$3e8
sta.z end
lda.z str+1

View File

@ -584,8 +584,8 @@ print_uchar_at: {
and.z b
tay
// print_char_at(print_hextab[b&$f], at+1)
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1

View File

@ -3396,8 +3396,8 @@ print_uchar_at: {
and.z b
tay
// [148] print_char_at::at#1 = print_uchar_at::at#2 + 1 -- pbuz1=pbuz2_plus_1
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1
@ -4709,8 +4709,8 @@ print_uchar_at: {
tay
// print_char_at(print_hextab[b&$f], at+1)
// [148] print_char_at::at#1 = print_uchar_at::at#2 + 1 -- pbuz1=pbuz2_plus_1
lda.z at
clc
lda.z at
adc #1
sta.z print_char_at.at
lda.z at+1

View File

@ -90,8 +90,8 @@ memset: {
.label dst = $24
.label str = $24
// end = (char*)str + num
lda.z str
clc
lda.z str
adc #<$3e8
sta.z end
lda.z str+1

View File

@ -4498,8 +4498,8 @@ memset: {
// memset::@1
__b1:
// [21] memset::end#0 = (byte*)memset::str#3 + $3e8 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$3e8
sta.z end
lda.z str+1
@ -6460,8 +6460,8 @@ memset: {
// memset::@1
// end = (char*)str + num
// [21] memset::end#0 = (byte*)memset::str#3 + $3e8 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$3e8
sta.z end
lda.z str+1

View File

@ -77,8 +77,8 @@ memset: {
.label dst = 2
.label str = 2
// end = (char*)str + num
lda.z str
clc
lda.z str
adc #<$28*$19
sta.z end
lda.z str+1

View File

@ -680,8 +680,8 @@ memset: {
// memset::@1
__b1:
// [17] memset::end#0 = (byte*)memset::str#3 + (word)$28*$19 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$28*$19
sta.z end
lda.z str+1
@ -930,8 +930,8 @@ memset: {
// memset::@1
// end = (char*)str + num
// [17] memset::end#0 = (byte*)memset::str#3 + (word)$28*$19 -- pbuz1=pbuz2_plus_vwuc1
lda.z str
clc
lda.z str
adc #<$28*$19
sta.z end
lda.z str+1

View File

@ -300,8 +300,8 @@ render_sine: {
lda.z sin_idx+1
rol
sta.z __11+1
lda.z __11
clc
lda.z __11
adc #<sin
sta.z __1
lda.z __11+1
@ -339,8 +339,8 @@ render_sine: {
lda (__4),y
sta.z sin2_val+1
// wrap_y(sin2_val+10)
lda.z wrap_y.y
clc
lda.z wrap_y.y
adc #<$a
sta.z wrap_y.y
lda.z wrap_y.y+1

View File

@ -4449,8 +4449,8 @@ render_sine: {
rol
sta.z __11+1
// [69] render_sine::$1 = sin + render_sine::$11 -- pwsz1=pwsc1_plus_vwuz2
lda.z __11
clc
lda.z __11
adc #<sin
sta.z __1
lda.z __11+1
@ -4504,8 +4504,8 @@ render_sine: {
lda (__4),y
sta.z sin2_val+1
// [80] wrap_y::y#1 = render_sine::sin2_val#0 + $a -- vwsz1=vwsz1_plus_vbsc1
lda.z wrap_y.y
clc
lda.z wrap_y.y
adc #<$a
sta.z wrap_y.y
lda.z wrap_y.y+1
@ -6440,8 +6440,8 @@ render_sine: {
rol
sta.z __11+1
// [69] render_sine::$1 = sin + render_sine::$11 -- pwsz1=pwsc1_plus_vwuz2
lda.z __11
clc
lda.z __11
adc #<sin
sta.z __1
lda.z __11+1
@ -6497,8 +6497,8 @@ render_sine: {
sta.z sin2_val+1
// wrap_y(sin2_val+10)
// [80] wrap_y::y#1 = render_sine::sin2_val#0 + $a -- vwsz1=vwsz1_plus_vbsc1
lda.z wrap_y.y
clc
lda.z wrap_y.y
adc #<$a
sta.z wrap_y.y
lda.z wrap_y.y+1

View File

@ -23,8 +23,8 @@ main: {
rts
__b2:
// SCREEN[i] = ' '
lda.z i
clc
lda.z i
adc #<SCREEN
sta.z __1
lda.z i+1

View File

@ -167,8 +167,8 @@ main: {
// main::@2
__b2:
// [4] main::$1 = SCREEN + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<SCREEN
sta.z __1
lda.z i+1
@ -253,8 +253,8 @@ main: {
__b2:
// SCREEN[i] = ' '
// [4] main::$1 = SCREEN + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<SCREEN
sta.z __1
lda.z i+1

View File

@ -29,8 +29,8 @@ main: {
sta.z chargen+1
__b1:
// chargen1 = chargen+1
lda.z chargen
clc
lda.z chargen
adc #1
sta.z chargen1
lda.z chargen+1

View File

@ -1013,8 +1013,8 @@ main: {
// main::@1
__b1:
// [3] main::chargen1#0 = main::chargen#10 + 1 -- pbuz1=pbuz2_plus_1
lda.z chargen
clc
lda.z chargen
adc #1
sta.z chargen1
lda.z chargen+1
@ -1437,8 +1437,8 @@ main: {
__b1:
// chargen1 = chargen+1
// [3] main::chargen1#0 = main::chargen#10 + 1 -- pbuz1=pbuz2_plus_1
lda.z chargen
clc
lda.z chargen
adc #1
sta.z chargen1
lda.z chargen+1

View File

@ -21,8 +21,8 @@ main: {
rts
__b2:
// entities[i] = 7
lda.z i
clc
lda.z i
adc #<entities
sta.z __1
lda.z i+1

View File

@ -162,8 +162,8 @@ main: {
// main::@2
__b2:
// [4] main::$1 = entities + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<entities
sta.z __1
lda.z i+1
@ -247,8 +247,8 @@ main: {
__b2:
// entities[i] = 7
// [4] main::$1 = entities + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<entities
sta.z __1
lda.z i+1

View File

@ -42,8 +42,8 @@ main: {
txa
asl
tax
lda fibs,x
clc
lda fibs,x
adc fibs,y
sta.z __3
lda fibs+1,x

View File

@ -299,8 +299,8 @@ main: {
asl
// [9] main::$3 = fibs[main::$6] + fibs[main::$7] -- vwuz1=pwuc1_derefidx_vbuyy_plus_pwuc1_derefidx_vbuaa
tax
lda fibs,x
clc
lda fibs,x
adc fibs,y
sta.z __3
lda fibs+1,x
@ -425,8 +425,8 @@ main: {
asl
// [9] main::$3 = fibs[main::$6] + fibs[main::$7] -- vwuz1=pwuc1_derefidx_vbuyy_plus_pwuc1_derefidx_vbuaa
tax
lda fibs,x
clc
lda fibs,x
adc fibs,y
sta.z __3
lda fibs+1,x

View File

@ -30,15 +30,15 @@ main: {
rts
__b2:
// fibs[i]+fibs[i+1]
lda.z i
clc
lda.z i
adc #<fibs
sta.z __4
lda.z i+1
adc #>fibs
sta.z __4+1
lda.z i
clc
lda.z i
adc #<fibs+1
sta.z __5
lda.z i+1
@ -50,8 +50,8 @@ main: {
adc (__5),y
tax
// fibs[i+2] = fibs[i]+fibs[i+1]
lda.z i
clc
lda.z i
adc #<fibs+2
sta.z __6
lda.z i+1

View File

@ -239,16 +239,16 @@ main: {
// main::@2
__b2:
// [5] main::$4 = fibs + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<fibs
sta.z __4
lda.z i+1
adc #>fibs
sta.z __4+1
// [6] main::$5 = fibs+1 + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<fibs+1
sta.z __5
lda.z i+1
@ -262,8 +262,8 @@ main: {
adc (__5),y
tax
// [8] main::$6 = fibs+2 + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<fibs+2
sta.z __6
lda.z i+1
@ -366,16 +366,16 @@ main: {
__b2:
// fibs[i]+fibs[i+1]
// [5] main::$4 = fibs + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<fibs
sta.z __4
lda.z i+1
adc #>fibs
sta.z __4+1
// [6] main::$5 = fibs+1 + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<fibs+1
sta.z __5
lda.z i+1
@ -389,8 +389,8 @@ main: {
tax
// fibs[i+2] = fibs[i]+fibs[i+1]
// [8] main::$6 = fibs+2 + main::i#2 -- pbuz1=pbuc1_plus_vwuz2
lda.z i
clc
lda.z i
adc #<fibs+2
sta.z __6
lda.z i+1

View File

@ -47,8 +47,8 @@ main: {
adc.z i+1
sta.z __1+1
// i+1
lda.z i
clc
lda.z i
adc #1
sta.z __2
lda.z i+1

View File

@ -318,8 +318,8 @@ main: {
adc.z i+1
sta.z __1+1
// [6] main::$2 = main::i#2 + 1 -- vwuz1=vwuz2_plus_1
lda.z i
clc
lda.z i
adc #1
sta.z __2
lda.z i+1
@ -498,8 +498,8 @@ main: {
sta.z __1+1
// i+1
// [6] main::$2 = main::i#2 + 1 -- vwuz1=vwuz2_plus_1
lda.z i
clc
lda.z i
adc #1
sta.z __2
lda.z i+1

View File

@ -57,8 +57,8 @@ foo: {
txa
asl
tax
clc
ldy #0
clc
lda wow,x
adc (return),y
pha

Some files were not shown because too many files have changed in this diff Show More