summaryrefslogtreecommitdiff
path: root/nitro/os_asm.s
blob: 86d7603c76e1420124fe62849101ade826ba4510 (plain)
1
2
3
4
5
6
7

# TODO: make this syntax look correct in CLion
# Potentially switch to AT&T syntax?
OS_GetProcMode:
    mrs r0, cpsr
    and r0, r0, #0x80
    bx lr