Reorganized file structure

This commit is contained in:
Eduard Urbach 2024-06-10 15:51:39 +02:00
parent c7354b8613
commit 6fe30f31da
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
57 changed files with 431 additions and 614 deletions

11
src/build/cpu/Register.go Normal file
View file

@ -0,0 +1,11 @@
package cpu
import "fmt"
// Register represents the number of the register.
type Register uint8
// String returns the human readable name of the register.
func (r Register) String() string {
return fmt.Sprintf("r%d", r)
}