aboutsummaryrefslogtreecommitdiffhomepage
path: root/arch/riscv.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2024-02-15 23:29:57 +0000
committerjohannst <johannst@users.noreply.github.com>2024-02-15 23:29:57 +0000
commitbac8a5d2822835cf47175d1162030653fadd5c09 (patch)
tree28f312a114cf95ac799daac2a2caec4b8612d84d /arch/riscv.html
parentbfc5ce4bc01e5eb28969eefcc01ecfefa2601fdf (diff)
downloadnotes-bac8a5d2822835cf47175d1162030653fadd5c09.tar.gz
notes-bac8a5d2822835cf47175d1162030653fadd5c09.zip
deploy: 4485708c972815bbb6df7f5a228683aa855d553d
Diffstat (limited to 'arch/riscv.html')
-rw-r--r--arch/riscv.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/riscv.html b/arch/riscv.html
index 2e92aa5..aad6df6 100644
--- a/arch/riscv.html
+++ b/arch/riscv.html
@@ -212,7 +212,7 @@ x28-x31 t3-t6 temp regs
#include &lt;asm/unistd.h&gt; // syscall NRs
- .section .text, &quot;ax&quot;, @progbits
+ .section .text, "ax", @progbits
.balign 4 // align code on 4byte boundary
.global _start
_start:
@@ -227,9 +227,9 @@ _start:
ecall
.balign 8 // align data on 8byte boundary
- .section .rodata, &quot;a&quot;, @progbits
+ .section .rodata, "a", @progbits
greeting:
- .asciz &quot;Hi ASM-World!\n&quot;
+ .asciz "Hi ASM-World!\n"
greeting_len:
.int .-greeting
</code></pre>