45 lines
951 B
ArmAsm
45 lines
951 B
ArmAsm
.file "task09_config_macros.c"
|
|
.option nopic
|
|
.attribute arch, "rv32i2p1_zicsr2p0_zifencei2p0"
|
|
.attribute unaligned_access, 0
|
|
.attribute stack_align, 16
|
|
.text
|
|
.align 2
|
|
.globl main
|
|
.type main, @function
|
|
main:
|
|
li a5,256
|
|
sw a5,g_total_heap,a4
|
|
li a5,248
|
|
sw a5,g_adjusted_heap,a4
|
|
li a5,1
|
|
sw a5,g_dynamic_enabled,a4
|
|
sw zero,g_trace_is_host_only,a5
|
|
li a0,0
|
|
ret
|
|
.size main, .-main
|
|
.globl g_trace_is_host_only
|
|
.globl g_dynamic_enabled
|
|
.globl g_adjusted_heap
|
|
.globl g_total_heap
|
|
.section .sbss,"aw",@nobits
|
|
.align 2
|
|
.type g_trace_is_host_only, @object
|
|
.size g_trace_is_host_only, 4
|
|
g_trace_is_host_only:
|
|
.zero 4
|
|
.type g_dynamic_enabled, @object
|
|
.size g_dynamic_enabled, 4
|
|
g_dynamic_enabled:
|
|
.zero 4
|
|
.type g_adjusted_heap, @object
|
|
.size g_adjusted_heap, 4
|
|
g_adjusted_heap:
|
|
.zero 4
|
|
.type g_total_heap, @object
|
|
.size g_total_heap, 4
|
|
g_total_heap:
|
|
.zero 4
|
|
.ident "GCC: (15.2.0-23) 15.2.0"
|
|
.section .note.GNU-stack,"",@progbits
|