diff options
author | Camil Staps | 2023-01-23 15:08:24 +0100 |
---|---|---|
committer | Camil Staps | 2023-01-23 15:08:24 +0100 |
commit | 91b21db725540043640edda6f28b798f4ffcb7c5 (patch) | |
tree | 8643902166762d426fb0ef2bfc33aa6eb0cc7292 /README.md | |
parent | Initial commit (diff) |
Add example of small functional language and run time system
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |