Skip to content

Commit

Permalink
Fix read type
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWoollett-Light committed Dec 4, 2023
1 parent 2527330 commit 331676c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h3>Examples</h3>
</div>
<div class="grid">
<div><p class="code">x := read 1<br>exit x</p></div>
<div><p class="code">x := read 1<br>exit x</p></div>
<div><p class="code">x := read u8 1<br>exit x</p></div>
<div><p class="code">.global _start<br>_start:<br>mov x8, #63<br>mov x0, #1<br>ldr x1, =x<br>mov x2, #1<br>svc #0<br>mov x8, #93<br>ldr x0, =x<br>ldrb w0, [x0]<br>svc #0<br>.bss<br>x: .skip 1</p></div>
</div>
</main>
Expand Down

0 comments on commit 331676c

Please sign in to comment.