fix error in readme

pull/21/head
Ondřej Hruška 4 years ago
parent 5686ad7bd3
commit 0cc0be370f
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      README.md
  2. 1
      examples/factorial.csn

@ -24,7 +24,7 @@ The runtime is built as a register machine with a stack and status flags.
## Registers
- 8 general purpose registers `reg0`-`reg7`
- 8 general purpose registers `r0`-`r7`
- 8 argument registers `arg0`-`arg7`
- 8 result registers `res0`-`res7`

@ -1,7 +1,6 @@
(
(call fac 5)
(ld r0 res0)
(halt)
(proc fac/1
(cmp arg0 2

Loading…
Cancel
Save