Implemented subtraction
This commit is contained in:
parent
0657b88945
commit
9e3af3b01c
9 changed files with 92 additions and 28 deletions
|
@ -10,6 +10,7 @@ const (
|
|||
LABEL
|
||||
MOVE
|
||||
RETURN
|
||||
SUB
|
||||
SYSCALL
|
||||
)
|
||||
|
||||
|
@ -34,6 +35,9 @@ func (m Mnemonic) String() string {
|
|||
case RETURN:
|
||||
return "return"
|
||||
|
||||
case SUB:
|
||||
return "sub"
|
||||
|
||||
case SYSCALL:
|
||||
return "syscall"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue