20 lines
590 B
Scala
20 lines
590 B
Scala
package com.htmlism.firepower.core
|
|
|
|
import weaver.FunSuite
|
|
|
|
object RegisterAllocatorSuite extends FunSuite:
|
|
test("cam allocate registers"):
|
|
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")
|
|
|
|
test("A single-byte register can specifically be an index register"):
|
|
expect.eql("TODO", "TODO")
|
|
|
|
test("A register can be allocated to a two-byte width, always a memory register"):
|
|
expect.eql("TODO", "TODO")
|