rp2040

RP2040 Programming without SDK
Log | Files | Refs

commit ed18e260d3d14d394181cd66221c0bd3b488c547
parent 3ae2e8a223fecd39b899e61c9ba6be0d6f9b5534
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Wed, 28 Feb 2024 08:56:30 +0900

rename

Diffstat:
Mex3/main.s | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/ex3/main.s b/ex3/main.s @@ -14,12 +14,12 @@ vectors: .word reset+1 // 8 .word reset+1 // 9 .word reset+1 // 10 - .word int_svcall+1 // 11 svcall + .word isr_svcall+1 // 11 svcall .word reset+1 // 12 .word reset+1 // 13 .word reset+1 // 14 - .word int_systick+1 // 15 systick - .word int_alarm+1 // 16 alarm_0 + .word isr_systick+1 // 15 systick + .word isr_alarm+1 // 16 alarm_0 .section .text reset: @@ -143,7 +143,7 @@ loop: // functions -int_svcall: +isr_svcall: push {r4, lr} mov r4, lr mov r0, #'s' @@ -166,7 +166,7 @@ int_svcall: bl putbyte pop {r4, pc} -int_systick: +isr_systick: push {lr} mov r0, #'\r' bl putbyte @@ -179,7 +179,7 @@ int_systick: bl putbyte pop {pc} -int_alarm: +isr_alarm: mov r0, sp push {lr} // clear interrupt