mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-06-08 17:29:36 +00:00
avoid deprecated syntax
This commit is contained in:
parent
e8e7ab1413
commit
ee87a131ea
|
@ -5,7 +5,8 @@ object Move:
|
||||||
def constA[A, X: Encoded.Byte](x: X, dest: WriteLease.ByteAddress[A]): Asm2[Reg.A, A] =
|
def constA[A, X: Encoded.Byte](x: X, dest: WriteLease.ByteAddress[A]): Asm2[Reg.A, A] =
|
||||||
Load
|
Load
|
||||||
.constA(x)
|
.constA(x)
|
||||||
.widenWith[A] andThen Store.fromA(dest)
|
.widenWith[A]
|
||||||
|
.andThen(Store.fromA(dest))
|
||||||
|
|
||||||
def from[R: Register, A: ReadLease.ByteAddress, B: WriteLease.ByteAddress]: Asm3[R, A, B] =
|
def from[R: Register, A: ReadLease.ByteAddress, B: WriteLease.ByteAddress]: Asm3[R, A, B] =
|
||||||
Asm3Instructions(List(""))
|
Asm3Instructions(List(""))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user