Implemented multiplication
This commit is contained in:
parent
81fcb50e77
commit
432397043d
11 changed files with 107 additions and 47 deletions
|
@ -7,6 +7,7 @@ const (
|
|||
ADD
|
||||
CALL
|
||||
JUMP
|
||||
MUL
|
||||
LABEL
|
||||
MOVE
|
||||
RETURN
|
||||
|
@ -32,6 +33,9 @@ func (m Mnemonic) String() string {
|
|||
case MOVE:
|
||||
return "move"
|
||||
|
||||
case MUL:
|
||||
return "mul"
|
||||
|
||||
case RETURN:
|
||||
return "return"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue