Implemented division

This commit is contained in:
Eduard Urbach 2024-06-25 00:19:01 +02:00
parent 432397043d
commit 3aedcef9eb
Signed by: eduard
GPG key ID: 49226B848C78F6C8
7 changed files with 89 additions and 3 deletions

View file

@ -6,6 +6,7 @@ const (
NONE Mnemonic = iota
ADD
CALL
DIV
JUMP
MUL
LABEL
@ -24,6 +25,9 @@ func (m Mnemonic) String() string {
case CALL:
return "call"
case DIV:
return "div"
case JUMP:
return "jump"