This commit is contained in:
Irmen de Jong 2020-08-22 16:39:17 +02:00
parent bfc8a26381
commit 31c946aeeb
2 changed files with 2 additions and 4 deletions

View File

@ -427,8 +427,4 @@ class AstToSourceCode(val output: (text: String) -> Unit, val program: Program):
whenChoice.statements.accept(this)
outputln("")
}
override fun visit(nopStatement: NopStatement) {
output("; NOP @ ${nopStatement.position} $nopStatement")
}
}

View File

@ -253,6 +253,7 @@ internal class ExpressionsAsmGen(private val program: Program, private val asmge
}
else -> throw AssemblyError("weird type")
}
return
}
}
"<<" -> {
@ -278,6 +279,7 @@ internal class ExpressionsAsmGen(private val program: Program, private val asmge
else
asmgen.out(" jsr math.shift_left_w_$left")
}
return
}
}
"*" -> {