Implemented register to register instructions
This commit is contained in:
parent
1c27f0cad2
commit
a9d43a8716
11 changed files with 171 additions and 16 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue