Reorganized file structure

This commit is contained in:
Eduard Urbach 2024-06-10 15:51:39 +02:00
parent 8b595ef3ce
commit 722d07c321
Signed by: eduard
GPG key ID: 49226B848C78F6C8
57 changed files with 431 additions and 614 deletions

View file

@ -1,25 +0,0 @@
package asm
type Mnemonic uint8
const (
NONE Mnemonic = iota
MOV
MOVDATA
SYSCALL
)
func (m Mnemonic) String() string {
switch m {
case MOV:
return "mov"
case MOVDATA:
return "mov"
case SYSCALL:
return "syscall"
}
return "NONE"
}