1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-08 12:32:30 +00:00

Update assembly doc.

This commit is contained in:
Calvin Rose
2018-03-30 12:17:03 -04:00
parent 077c345434
commit 9dabc6bee3
3 changed files with 90 additions and 62 deletions

View File

@@ -6,7 +6,7 @@
bytecode [
(ldi 1 0x2) # $1 = 2
(lt 1 0 1) # $1 = $0 < $1
(jmpi 1 :done) # if ($1) goto :done
(jmpif 1 :done) # if ($1) goto :done
(lds 1) # $1 = self
(addim 0 0 -0x1) # $0 = $0 - 1
(push 0) # push($0), push argument for next function call