mirror of
https://github.com/irmen/prog8.git
synced 2025-01-14 01:29:55 +00:00
things
This commit is contained in:
parent
82d7179c92
commit
e39a38b0d9
@ -558,7 +558,6 @@ internal class AsmGen(private val program: Program,
|
|||||||
when(register) {
|
when(register) {
|
||||||
CpuRegister.A -> out(" pha")
|
CpuRegister.A -> out(" pha")
|
||||||
CpuRegister.X -> {
|
CpuRegister.X -> {
|
||||||
// TODO get rid of REG_X altogether!
|
|
||||||
if (CompilationTarget.instance.machine.cpu == CpuType.CPU65c02) out(" phx")
|
if (CompilationTarget.instance.machine.cpu == CpuType.CPU65c02) out(" phx")
|
||||||
else {
|
else {
|
||||||
val save = makeLabel("saveX")
|
val save = makeLabel("saveX")
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
%import cx16flt
|
%import cx16flt
|
||||||
%zeropage basicsafe
|
%zeropage basicsafe
|
||||||
|
|
||||||
; TODO fix this, only black squares output...
|
|
||||||
|
|
||||||
|
|
||||||
main {
|
main {
|
||||||
const uword width = 60
|
const uword width = 60
|
||||||
const uword height = 50
|
const uword height = 50
|
||||||
|
Loading…
x
Reference in New Issue
Block a user