|
|
|
@ -489,10 +489,13 @@ BEND:
|
|
|
|
|
|
|
|
|
|
Statement [0] *((word) 4352) ← (byte) 0 [ ] always clobbers reg byte a
|
|
|
|
|
Statement [1] *((word) 4353) ← (byte) 1 [ ] always clobbers reg byte a
|
|
|
|
|
Statement [0] *((word) 4352) ← (byte) 0 [ ] always clobbers reg byte a
|
|
|
|
|
Statement [1] *((word) 4353) ← (byte) 1 [ ] always clobbers reg byte a
|
|
|
|
|
Equivalence Class zp byte:4 [ $3 ] has ALU potential.
|
|
|
|
|
REGISTER UPLIFT POTENTIAL REGISTERS
|
|
|
|
|
Potential registers zp byte:2 [ i#2 i#1 ] : zp byte:2 , reg byte a , reg byte x , reg byte y ,
|
|
|
|
|
Potential registers zp byte:3 [ $1 ] : zp byte:3 , reg byte a , reg byte x , reg byte y ,
|
|
|
|
|
Potential registers zp byte:4 [ $3 ] : zp byte:4 , reg byte a , reg byte x , reg byte y ,
|
|
|
|
|
Potential registers zp byte:4 [ $3 ] : zp byte:4 , reg byte a , reg byte x , reg byte y , reg byte alu ,
|
|
|
|
|
Potential registers zp byte:5 [ $4 ] : zp byte:5 , reg byte a , reg byte x , reg byte y ,
|
|
|
|
|
|
|
|
|
|
REGISTER UPLIFT SCOPES
|
|
|
|
@ -514,6 +517,10 @@ Uplift attempt [] 687 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] zp byt
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 487 allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=zpby2_plus_cowo1_staridx_zpby3 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=zpby2_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=zpby2_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=zpby2_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 647 allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 467 allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
@ -530,6 +537,10 @@ Uplift attempt [] 627 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] reg by
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 427 allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=zpby1_plus_cowo1_staridx_zpby2 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=zpby1_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=zpby1_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=zpby1_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 687 allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
@ -546,6 +557,10 @@ Uplift attempt [] 667 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] reg by
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=zpby1_plus_cowo1_staridx_zpby2 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=zpby1_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=zpby1_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=zpby1_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 687 allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 507 allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
@ -562,6 +577,10 @@ Uplift attempt [] 667 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] reg by
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] 467 allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=zpby1_plus_cowo1_staridx_zpby2 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=zpby1_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=zpby1_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=zpby1_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
@ -578,6 +597,10 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] zp
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] 467 allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=aby_plus_cowo1_staridx_zpby2 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=aby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=aby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=aby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
@ -594,6 +617,10 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] re
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] 407 allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=aby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=aby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] 347 allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] 347 allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
@ -610,6 +637,10 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] re
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=aby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=aby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] 387 allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
@ -626,6 +657,10 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] re
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] 447 allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=aby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=aby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] 387 allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
@ -642,6 +677,10 @@ Uplift attempt [] 707 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] zp byt
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=xby_plus_cowo1_staridx_zpby2 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=xby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=xby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=xby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
@ -658,6 +697,10 @@ Uplift attempt [] 647 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] reg by
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=xby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=xby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=xby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=xby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
@ -674,6 +717,10 @@ Uplift attempt [] 687 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] reg by
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=xby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=xby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=xby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=xby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
@ -690,6 +737,10 @@ Uplift attempt [] 687 allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] reg by
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=xby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=xby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=xby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=xby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte x [ $1 ]
|
|
|
|
|
Uplift attempt [] 687 allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] 487 allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
@ -706,6 +757,10 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] zp
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=yby_plus_cowo1_staridx_zpby2 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=yby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=yby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment zpby1=yby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] zp byte:5 [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] 627 allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] 427 allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
@ -722,6 +777,10 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] re
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=yby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=yby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=yby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment aby=yby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] 667 allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
@ -738,6 +797,10 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] re
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=yby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=yby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=yby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment xby=yby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte x [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] 667 allocation: zp byte:2 [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] 467 allocation: reg byte x [ i#2 i#1 ] zp byte:4 [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
@ -754,8 +817,70 @@ Uplift attempt [] clobber allocation: zp byte:2 [ i#2 i#1 ] reg byte y [ $3 ] re
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte a [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte x [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] clobber allocation: reg byte y [ i#2 i#1 ] reg byte y [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplifting [] best 407 combination reg byte x [ i#2 i#1 ] reg byte a [ $3 ] reg byte a [ $4 ] zp byte:3 [ $1 ]
|
|
|
|
|
Re-allocated ZP register from zp byte:3 to zp byte:2
|
|
|
|
|
Uplift attempt [] missing fragment yby=yby_plus_cowo1_staridx_zpby1 allocation: zp byte:2 [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=yby_plus_cowo1_staridx_aby allocation: reg byte a [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=yby_plus_cowo1_staridx_xby allocation: reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplift attempt [] missing fragment yby=yby_plus_cowo1_staridx_yby allocation: reg byte y [ i#2 i#1 ] reg byte alu [ $3 ] reg byte y [ $4 ] reg byte y [ $1 ]
|
|
|
|
|
Uplifting [] best 347 combination reg byte x [ i#2 i#1 ] reg byte alu [ $3 ] reg byte a [ $4 ] reg byte a [ $1 ]
|
|
|
|
|
MISSING FRAGMENTS
|
|
|
|
|
zpby1=zpby2_plus_cowo1_staridx_zpby3
|
|
|
|
|
zpby1=zpby2_plus_cowo1_staridx_aby
|
|
|
|
|
zpby1=zpby2_plus_cowo1_staridx_xby
|
|
|
|
|
zpby1=zpby2_plus_cowo1_staridx_yby
|
|
|
|
|
aby=zpby1_plus_cowo1_staridx_zpby2
|
|
|
|
|
aby=zpby1_plus_cowo1_staridx_aby
|
|
|
|
|
aby=zpby1_plus_cowo1_staridx_xby
|
|
|
|
|
aby=zpby1_plus_cowo1_staridx_yby
|
|
|
|
|
xby=zpby1_plus_cowo1_staridx_zpby2
|
|
|
|
|
xby=zpby1_plus_cowo1_staridx_aby
|
|
|
|
|
xby=zpby1_plus_cowo1_staridx_xby
|
|
|
|
|
xby=zpby1_plus_cowo1_staridx_yby
|
|
|
|
|
yby=zpby1_plus_cowo1_staridx_zpby2
|
|
|
|
|
yby=zpby1_plus_cowo1_staridx_aby
|
|
|
|
|
yby=zpby1_plus_cowo1_staridx_xby
|
|
|
|
|
yby=zpby1_plus_cowo1_staridx_yby
|
|
|
|
|
zpby1=aby_plus_cowo1_staridx_zpby2
|
|
|
|
|
zpby1=aby_plus_cowo1_staridx_aby
|
|
|
|
|
zpby1=aby_plus_cowo1_staridx_xby
|
|
|
|
|
zpby1=aby_plus_cowo1_staridx_yby
|
|
|
|
|
aby=aby_plus_cowo1_staridx_zpby1
|
|
|
|
|
aby=aby_plus_cowo1_staridx_aby
|
|
|
|
|
xby=aby_plus_cowo1_staridx_zpby1
|
|
|
|
|
xby=aby_plus_cowo1_staridx_aby
|
|
|
|
|
yby=aby_plus_cowo1_staridx_zpby1
|
|
|
|
|
yby=aby_plus_cowo1_staridx_aby
|
|
|
|
|
zpby1=xby_plus_cowo1_staridx_zpby2
|
|
|
|
|
zpby1=xby_plus_cowo1_staridx_aby
|
|
|
|
|
zpby1=xby_plus_cowo1_staridx_xby
|
|
|
|
|
zpby1=xby_plus_cowo1_staridx_yby
|
|
|
|
|
aby=xby_plus_cowo1_staridx_zpby1
|
|
|
|
|
aby=xby_plus_cowo1_staridx_aby
|
|
|
|
|
aby=xby_plus_cowo1_staridx_xby
|
|
|
|
|
aby=xby_plus_cowo1_staridx_yby
|
|
|
|
|
xby=xby_plus_cowo1_staridx_zpby1
|
|
|
|
|
xby=xby_plus_cowo1_staridx_aby
|
|
|
|
|
xby=xby_plus_cowo1_staridx_xby
|
|
|
|
|
xby=xby_plus_cowo1_staridx_yby
|
|
|
|
|
yby=xby_plus_cowo1_staridx_zpby1
|
|
|
|
|
yby=xby_plus_cowo1_staridx_aby
|
|
|
|
|
yby=xby_plus_cowo1_staridx_xby
|
|
|
|
|
yby=xby_plus_cowo1_staridx_yby
|
|
|
|
|
zpby1=yby_plus_cowo1_staridx_zpby2
|
|
|
|
|
zpby1=yby_plus_cowo1_staridx_aby
|
|
|
|
|
zpby1=yby_plus_cowo1_staridx_xby
|
|
|
|
|
zpby1=yby_plus_cowo1_staridx_yby
|
|
|
|
|
aby=yby_plus_cowo1_staridx_zpby1
|
|
|
|
|
aby=yby_plus_cowo1_staridx_aby
|
|
|
|
|
aby=yby_plus_cowo1_staridx_xby
|
|
|
|
|
aby=yby_plus_cowo1_staridx_yby
|
|
|
|
|
xby=yby_plus_cowo1_staridx_zpby1
|
|
|
|
|
xby=yby_plus_cowo1_staridx_aby
|
|
|
|
|
xby=yby_plus_cowo1_staridx_xby
|
|
|
|
|
xby=yby_plus_cowo1_staridx_yby
|
|
|
|
|
yby=yby_plus_cowo1_staridx_zpby1
|
|
|
|
|
yby=yby_plus_cowo1_staridx_aby
|
|
|
|
|
yby=yby_plus_cowo1_staridx_xby
|
|
|
|
|
yby=yby_plus_cowo1_staridx_yby
|
|
|
|
|
Removing instruction jmp B1
|
|
|
|
|
Removing instruction jmp BEND
|
|
|
|
|
Succesful ASM optimization Pass5NextJumpElimination
|
|
|
|
@ -778,14 +903,13 @@ B1_from_B1:
|
|
|
|
|
//SEG6 [2] phi (byte) i#2 = (byte) i#1 -- register_copy
|
|
|
|
|
//SEG7 @1
|
|
|
|
|
B1:
|
|
|
|
|
//SEG8 [3] (byte~) $1 ← (word) 4352 *idx (byte) i#2 [ i#2 $1 ] -- zpby1=cowo1_staridx_xby
|
|
|
|
|
//SEG8 [3] (byte~) $1 ← (word) 4352 *idx (byte) i#2 [ i#2 $1 ] -- aby=cowo1_staridx_xby
|
|
|
|
|
lda 4352,x
|
|
|
|
|
sta 2
|
|
|
|
|
//SEG9 [4] (byte~) $3 ← (word) 4353 *idx (byte) i#2 [ i#2 $1 $3 ] -- aby=cowo1_staridx_xby
|
|
|
|
|
lda 4353,x
|
|
|
|
|
//SEG10 [5] (byte~) $4 ← (byte~) $1 + (byte~) $3 [ i#2 $4 ] -- aby=zpby1_plus_aby
|
|
|
|
|
//SEG9 [4] (byte~) $3 ← (word) 4353 *idx (byte) i#2 [ i#2 $1 $3 ]
|
|
|
|
|
// [4] $3 ← 4353 *idx i#2 // ALU
|
|
|
|
|
//SEG10 [5] (byte~) $4 ← (byte~) $1 + (byte~) $3 [ i#2 $4 ] -- aby=aby_plus_cowo1_staridx_xby
|
|
|
|
|
clc
|
|
|
|
|
adc 2
|
|
|
|
|
adc 4353,x
|
|
|
|
|
//SEG11 [6] *((word) 4354 + (byte) i#2) ← (byte~) $4 [ i#2 ] -- cowo1_staridx_xby=aby
|
|
|
|
|
sta 4354,x
|
|
|
|
|
//SEG12 [7] (byte) i#1 ← (byte) i#2 + (byte) 1 [ i#1 ] -- xby=xby_plus_1
|
|
|
|
@ -816,14 +940,13 @@ B1_from_B1:
|
|
|
|
|
//SEG6 [2] phi (byte) i#2 = (byte) i#1 -- register_copy
|
|
|
|
|
//SEG7 @1
|
|
|
|
|
B1:
|
|
|
|
|
//SEG8 [3] (byte~) $1 ← (word) 4352 *idx (byte) i#2 [ i#2 $1 ] -- zpby1=cowo1_staridx_xby
|
|
|
|
|
//SEG8 [3] (byte~) $1 ← (word) 4352 *idx (byte) i#2 [ i#2 $1 ] -- aby=cowo1_staridx_xby
|
|
|
|
|
lda 4352,x
|
|
|
|
|
sta 2
|
|
|
|
|
//SEG9 [4] (byte~) $3 ← (word) 4353 *idx (byte) i#2 [ i#2 $1 $3 ] -- aby=cowo1_staridx_xby
|
|
|
|
|
lda 4353,x
|
|
|
|
|
//SEG10 [5] (byte~) $4 ← (byte~) $1 + (byte~) $3 [ i#2 $4 ] -- aby=zpby1_plus_aby
|
|
|
|
|
//SEG9 [4] (byte~) $3 ← (word) 4353 *idx (byte) i#2 [ i#2 $1 $3 ]
|
|
|
|
|
// [4] $3 ← 4353 *idx i#2 // ALU
|
|
|
|
|
//SEG10 [5] (byte~) $4 ← (byte~) $1 + (byte~) $3 [ i#2 $4 ] -- aby=aby_plus_cowo1_staridx_xby
|
|
|
|
|
clc
|
|
|
|
|
adc 2
|
|
|
|
|
adc 4353,x
|
|
|
|
|
//SEG11 [6] *((word) 4354 + (byte) i#2) ← (byte~) $4 [ i#2 ] -- cowo1_staridx_xby=aby
|
|
|
|
|
sta 4354,x
|
|
|
|
|
//SEG12 [7] (byte) i#1 ← (byte) i#2 + (byte) 1 [ i#1 ] -- xby=xby_plus_1
|
|
|
|
@ -835,8 +958,8 @@ B1:
|
|
|
|
|
BEND:
|
|
|
|
|
|
|
|
|
|
FINAL SYMBOL TABLE
|
|
|
|
|
(byte~) $1 zp byte:2 11.0
|
|
|
|
|
(byte~) $3 reg byte a 22.0
|
|
|
|
|
(byte~) $1 reg byte a 11.0
|
|
|
|
|
(byte~) $3 reg byte alu 22.0
|
|
|
|
|
(byte~) $4 reg byte a 22.0
|
|
|
|
|
(label) @1
|
|
|
|
|
(label) @BEGIN
|
|
|
|
@ -847,8 +970,8 @@ FINAL SYMBOL TABLE
|
|
|
|
|
(byte) i#2 reg byte x 11.0
|
|
|
|
|
|
|
|
|
|
reg byte x [ i#2 i#1 ]
|
|
|
|
|
zp byte:2 [ $1 ]
|
|
|
|
|
reg byte a [ $3 ]
|
|
|
|
|
reg byte a [ $1 ]
|
|
|
|
|
reg byte alu [ $3 ]
|
|
|
|
|
reg byte a [ $4 ]
|
|
|
|
|
|
|
|
|
|
FINAL CODE
|
|
|
|
@ -869,14 +992,13 @@ B1_from_B1:
|
|
|
|
|
//SEG6 [2] phi (byte) i#2 = (byte) i#1 -- register_copy
|
|
|
|
|
//SEG7 @1
|
|
|
|
|
B1:
|
|
|
|
|
//SEG8 [3] (byte~) $1 ← (word) 4352 *idx (byte) i#2 [ i#2 $1 ] -- zpby1=cowo1_staridx_xby
|
|
|
|
|
//SEG8 [3] (byte~) $1 ← (word) 4352 *idx (byte) i#2 [ i#2 $1 ] -- aby=cowo1_staridx_xby
|
|
|
|
|
lda 4352,x
|
|
|
|
|
sta 2
|
|
|
|
|
//SEG9 [4] (byte~) $3 ← (word) 4353 *idx (byte) i#2 [ i#2 $1 $3 ] -- aby=cowo1_staridx_xby
|
|
|
|
|
lda 4353,x
|
|
|
|
|
//SEG10 [5] (byte~) $4 ← (byte~) $1 + (byte~) $3 [ i#2 $4 ] -- aby=zpby1_plus_aby
|
|
|
|
|
//SEG9 [4] (byte~) $3 ← (word) 4353 *idx (byte) i#2 [ i#2 $1 $3 ]
|
|
|
|
|
// [4] $3 ← 4353 *idx i#2 // ALU
|
|
|
|
|
//SEG10 [5] (byte~) $4 ← (byte~) $1 + (byte~) $3 [ i#2 $4 ] -- aby=aby_plus_cowo1_staridx_xby
|
|
|
|
|
clc
|
|
|
|
|
adc 2
|
|
|
|
|
adc 4353,x
|
|
|
|
|
//SEG11 [6] *((word) 4354 + (byte) i#2) ← (byte~) $4 [ i#2 ] -- cowo1_staridx_xby=aby
|
|
|
|
|
sta 4354,x
|
|
|
|
|
//SEG12 [7] (byte) i#1 ← (byte) i#2 + (byte) 1 [ i#1 ] -- xby=xby_plus_1
|
|
|
|
|