use standard name

This commit is contained in:
Mark Canlas 2022-11-19 23:11:10 -05:00
parent 7882a90bca
commit 3fc89ae23d

View File

@ -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)