cvw/examples/asm/test.S

23 lines
246 B
ArmAsm
Raw Normal View History

2021-12-18 01:45:26 +00:00
.globl main
.equ N, 5
.data
//A: .word 5, 42, 88, 2, 5033, 720, 314
str1: .string "RISC-V"
.align 2
B: .word 0x32A
.bss
C: .space
D: .space
.balign 4
.text
main:
li a0, 42
jr ra
.section .rodata
str2: .string "Hello"
.end