Implemented return keyword
This commit is contained in:
parent
7bbfa8914f
commit
f603c3a479
4 changed files with 22 additions and 0 deletions
|
@ -5,6 +5,7 @@ type Mnemonic uint8
|
|||
const (
|
||||
NONE Mnemonic = iota
|
||||
MOVE
|
||||
RETURN
|
||||
SYSCALL
|
||||
)
|
||||
|
||||
|
@ -14,6 +15,9 @@ func (m Mnemonic) String() string {
|
|||
case MOVE:
|
||||
return "move"
|
||||
|
||||
case RETURN:
|
||||
return "return"
|
||||
|
||||
case SYSCALL:
|
||||
return "syscall"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue