Implemented multiplication

This commit is contained in:
Eduard Urbach 2024-06-24 22:43:01 +02:00
parent 81fcb50e77
commit 432397043d
Signed by: eduard
GPG key ID: 49226B848C78F6C8
11 changed files with 107 additions and 47 deletions

View file

@ -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"