mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 23:31:44 +00:00
18 lines
269 B
ArmAsm
18 lines
269 B
ArmAsm
.global p
|
|
.global a
|
|
.section .tbss,"awT",%nobits
|
|
p:
|
|
.zero 4096
|
|
a:
|
|
.zero 52
|
|
|
|
.text
|
|
|
|
# Compute the address of an integer within structure a, padded
|
|
# by an array of size 48
|
|
|
|
mrs x0, tpidr_el0
|
|
add x0, x0, #:tprel_hi12:a+48
|
|
add x0, x0, #:tprel_lo12_nc:a+48
|
|
ret
|