Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/apic.s
2023-03-06 14:48:14 +01:00

13 lines
151 B
ArmAsm

.text
.intel_syntax noprefix
.global _start
_start:
ret
apic_read:
mov eax, [edi*4+APIC_BASE]
ret
apic_write:
mov [edi*4+APIC_BASE], esi
ret