From 0cc0be370f855550965befc4e96bf10cc44a712f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Wed, 7 Oct 2020 18:48:58 +0200 Subject: [PATCH] fix error in readme --- README.md | 2 +- examples/factorial.csn | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 43d9ad5..378ebfe 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/examples/factorial.csn b/examples/factorial.csn index 3f92d35..55ed029 100644 --- a/examples/factorial.csn +++ b/examples/factorial.csn @@ -1,7 +1,6 @@ ( (call fac 5) (ld r0 res0) - (halt) (proc fac/1 (cmp arg0 2