diff options
Diffstat (limited to 'asm-v8-main.s')
-rw-r--r-- | asm-v8-main.s | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/asm-v8-main.s b/asm-v8-main.s new file mode 100644 index 0000000..a59845c --- /dev/null +++ b/asm-v8-main.s @@ -0,0 +1,28 @@ + .section .text.__msplim_r + .global __msplim_r + .thumb_func +__msplim_r: + mrs r0, MSPLIM + bx lr + + .section .text.__msplim_w + .global __msplim_w + .thumb_func +__msplim_w: + msr MSPLIM, r0 + bx lr + + .section .text.__psplim_r + .global __psplim_r + .thumb_func +__psplim_r: + mrs r0, PSPLIM + bx lr + + .section .text.__psplim_w + .global __psplim_w + .thumb_func +__psplim_w: + msr PSPLIM, r0 + bx lr + |