+/rtos

git clone https://git.julia.blue/+/rtos

Vivek MalneediMerge branch 'master' of github.com:EE445M-Sp20/lab-6-vm22967_jbr2558ee4080a

master
360 B17 linesraw
1.cpu cortex-m4
2.fpu fpv4-sp-d16
3.syntax unified
4.thumb
5.text
6
7.extern OS_function_lookup
8
9.thumb_func
10.global svcall_handler
11svcall_handler:
12    PUSH {lr}
13    BL   OS_function_lookup
14    POP  {lr}
15    STR  r0, [sp] // save the return value of the function we called to the
16                  // stack so that it gets "passed back" to the calling code
17    BX LR