diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-05 05:38:18 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-05 13:07:57 -0600 |
| commit | 2a91e2b212ebe9fae160ae3a87d50d0ef02ac5b0 (patch) | |
| tree | 8a55325cb75a808ae7886f68ce14fcde9fad67e5 | |
| parent | 3feb806ef5cbcb2ee85890d3f24ebfccf04869b1 (diff) | |
demo: save r12 on irq entry
Diffstat (limited to '')
| -rw-r--r-- | demo/start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/start.S b/demo/start.S index ecdeb3c..fd33231 100644 --- a/demo/start.S +++ b/demo/start.S @@ -49,9 +49,9 @@ _boot_num: _irq_entry: ldr sp, =_irq_stack - push {r0-r11, lr} + push {r0-r12, lr} bl irq - pop {r0-r11, lr} + pop {r0-r12, lr} subs pc, lr, #4 .weak undefined, swi, data_abort, prefetch_abort |
