6502-opcodes/firepower-core/src/test/scala/com/htmlism/firepower/core/RegisterAllocatorSuite.scala

20 lines
590 B
Scala
Raw Permalink Normal View History

2024-01-17 00:47:51 +00:00
package com.htmlism.firepower.core
import weaver.FunSuite
object RegisterAllocatorSuite extends FunSuite:
test("cam allocate registers"):
2024-01-17 01:10:31 +00:00
expect.eql("TODO", "TODO")
test("A register can be allocated to a single byte width"):
expect.eql("TODO", "TODO")
test("Allocates CPU registers first, then zero page, then global"):
expect.eql("TODO", "TODO")
2024-01-17 15:08:52 +00:00
test("A single-byte register can specifically be an index register"):
expect.eql("TODO", "TODO")
2024-01-17 01:10:31 +00:00
test("A register can be allocated to a two-byte width, always a memory register"):
expect.eql("TODO", "TODO")