Added Value type
This commit is contained in:
parent
a905710982
commit
da6dcc4433
8 changed files with 65 additions and 34 deletions
12
src/core/Value.go
Normal file
12
src/core/Value.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package core
|
||||
|
||||
import (
|
||||
"git.urbach.dev/cli/q/src/cpu"
|
||||
"git.urbach.dev/cli/q/src/types"
|
||||
)
|
||||
|
||||
// Value combines a register with its data type.
|
||||
type Value struct {
|
||||
Type types.Type
|
||||
Register cpu.Register
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue