convert infix to method

This commit is contained in:
Mark Canlas 2023-12-31 19:05:35 -05:00
parent fba3e7e44b
commit 355668b757

View File

@ -54,7 +54,7 @@ class Easy6502Spec extends AnyFlatSpec with should.Matchers:
val doc =
asmDoc { implicit ctx =>
asm { implicit a =>
registers.X.loop("incrementing", 2 upTo 5) { implicit a =>
registers.X.loop("incrementing", 2.upTo(5)) { implicit a =>
a.push(INY)
}
}