Added Value type

This commit is contained in:
Eduard Urbach 2025-02-27 14:16:25 +01:00
parent a905710982
commit da6dcc4433
Signed by: eduard
GPG key ID: 49226B848C78F6C8
8 changed files with 65 additions and 34 deletions

12
src/core/Value.go Normal file
View 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
}