mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-12-23 01:29:47 +00:00
use standard name
This commit is contained in:
parent
7882a90bca
commit
3fc89ae23d
@ -1,9 +1,9 @@
|
||||
package com.htmlism.scratchpad
|
||||
|
||||
object Load:
|
||||
def const[R: Register, X: Encoded.Byte](x: X): Asm1[R] =
|
||||
def const[R: Register, A: Encoded.Byte](x: A): Asm1[R] =
|
||||
Const(x)
|
||||
|
||||
case class Const[R, X: Encoded.Byte](x: X)(using R: Register[R]) extends Asm1[R]:
|
||||
case class Const[R, A: Encoded.Byte](x: A)(using R: Register[R]) extends Asm1[R]:
|
||||
def xs: List[String] =
|
||||
List("LD" + R.name)
|
||||
|
Loading…
Reference in New Issue
Block a user