mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-06-08 17:29:36 +00:00
13 lines
197 B
Scala
13 lines
197 B
Scala
package com.htmlism.firepower.core
|
|
|
|
object Encoded:
|
|
trait Byte[A]:
|
|
def int(x: A): Int
|
|
|
|
object Byte:
|
|
given Encoded.Byte[Int] with
|
|
def int(x: Int): Int =
|
|
x
|
|
|
|
trait Word[A]
|