1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-30 21:29:36 +00:00

6502: Fix byte shifting

This commit is contained in:
Karol Stasiak 2019-08-03 20:31:27 +02:00
parent 10c76dcc9c
commit 9d78385cba

View File

@ -260,6 +260,7 @@ object BuiltIns {
val labelSkip = ctx.nextLabel("ss")
val labelRepeat = ctx.nextLabel("sr")
val loop = List(
AssemblyLine.immediate(CPX, 0),
AssemblyLine.relative(BEQ, labelSkip),
AssemblyLine.label(labelRepeat),
AssemblyLine.implied(opcode),