aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCamil Staps2023-01-23 15:08:24 +0100
committerCamil Staps2023-01-23 15:08:24 +0100
commit91b21db725540043640edda6f28b798f4ffcb7c5 (patch)
tree8643902166762d426fb0ef2bfc33aa6eb0cc7292 /README.md
parentInitial commit (diff)
Add example of small functional language and run time system
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index ceba168..ad03d23 100644
--- a/README.md
+++ b/README.md
@@ -28,11 +28,10 @@ said to be in the 'branch delay slot'. For example, this does not loop
endlessly even though the body of `main_loop_delay` seems empty:
```
- lui $2,0xf
- ori $5,0xffff
+ lui $1,0xf
main_loop_delay:
- bne $2,$0,main_loop_delay
- addiu $2,-1
+ bne $1,$0,main_loop_delay
+ addiu $1,-1
```
Also note that when the file ends with a branch/jump, a `nop` *must* follow to