Implemented register to register instructions

This commit is contained in:
2024-06-23 20:26:53 +02:00
parent 31845dbc48
commit 4fc1935183
11 changed files with 171 additions and 16 deletions

View File

@ -1,9 +1,11 @@
package build
import "git.akyoto.dev/cli/q/src/build/expression"
import (
"git.akyoto.dev/cli/q/src/build/cpu"
)
// Variable represents a variable in a function.
type Variable struct {
Name string
Value *expression.Expression
Name string
Register cpu.Register
}