diff options
author | johannst <johannst@users.noreply.github.com> | 2024-02-15 23:29:57 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2024-02-15 23:29:57 +0000 |
commit | bac8a5d2822835cf47175d1162030653fadd5c09 (patch) | |
tree | 28f312a114cf95ac799daac2a2caec4b8612d84d /arch/riscv.html | |
parent | bfc5ce4bc01e5eb28969eefcc01ecfefa2601fdf (diff) | |
download | notes-bac8a5d2822835cf47175d1162030653fadd5c09.tar.gz notes-bac8a5d2822835cf47175d1162030653fadd5c09.zip |
deploy: 4485708c972815bbb6df7f5a228683aa855d553d
Diffstat (limited to 'arch/riscv.html')
-rw-r--r-- | arch/riscv.html | 6 |
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 <asm/unistd.h> // syscall NRs - .section .text, "ax", @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, "a", @progbits + .section .rodata, "a", @progbits greeting: - .asciz "Hi ASM-World!\n" + .asciz "Hi ASM-World!\n" greeting_len: .int .-greeting </code></pre> |