mirror of
https://github.com/KarolS/millfork.git
synced 2024-11-18 22:07:07 +00:00
6502: Fix byte shifting
This commit is contained in:
parent
10c76dcc9c
commit
9d78385cba
@ -260,6 +260,7 @@ object BuiltIns {
|
|||||||
val labelSkip = ctx.nextLabel("ss")
|
val labelSkip = ctx.nextLabel("ss")
|
||||||
val labelRepeat = ctx.nextLabel("sr")
|
val labelRepeat = ctx.nextLabel("sr")
|
||||||
val loop = List(
|
val loop = List(
|
||||||
|
AssemblyLine.immediate(CPX, 0),
|
||||||
AssemblyLine.relative(BEQ, labelSkip),
|
AssemblyLine.relative(BEQ, labelSkip),
|
||||||
AssemblyLine.label(labelRepeat),
|
AssemblyLine.label(labelRepeat),
|
||||||
AssemblyLine.implied(opcode),
|
AssemblyLine.implied(opcode),
|
||||||
|
Loading…
Reference in New Issue
Block a user