diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go index 40593db..24b5db1 100644 --- a/src/main.go +++ b/src/main.go @@ -169,6 +169,12 @@ func compile(raw[]string) { case "rem": print(" ;; REMOVE") print(" pop r10") + case "swap": + print(" ;; SWAP") + print(" pop r11") + print(" pop r10") + print(" push r11") + print(" push r10") /* Functions */ case "exit": |