diff --git a/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala b/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala index 67244ed..0a21bf5 100644 --- a/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala +++ b/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala @@ -10,6 +10,5 @@ trait DefinitionValue[A] { object DefinitionValue { implicit val definitionValueForInt: DefinitionValue[Int] = - Operand.operandInt - .toAddressLiteral(_) + (x: Int) => String.format("$%02x", x) }