mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2026-04-20 13:17:04 +00:00
fix lda
This commit is contained in:
@@ -93,8 +93,8 @@ class CPU {
|
||||
def A: registers.A.type =
|
||||
registers.A
|
||||
|
||||
def A_=[A : Operand](x: A)(implicit ctx: AssemblyContext, ev: Operand[A]): Unit =
|
||||
ctx.push(LDA, "set A to value " + ev.toString(x))
|
||||
def A_=[A](x: A)(implicit ctx: AssemblyContext, ev: Operand[A]): Unit =
|
||||
ctx.push(LDA, x, "set A to value " + ev.toString(x))
|
||||
|
||||
def A_=(reg: registers.DestinationA)(implicit ctx: AssemblyContext): Unit =
|
||||
reg match {
|
||||
|
||||
Reference in New Issue
Block a user