diff options
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> |