Adithi Minnasandran / Mbed 2 deprecated calc

Dependencies:   mbed

add_asm.s

Committer:
adithi_arun
Date:
2022-02-18
Revision:
1:b9118b4c402e

File content as of revision 1:b9118b4c402e:


            AREA |.text|, CODE, READONLY //Instructs the assembler to assemble a new code; READONLY is the default
add_asm     PROC //start of the procedure
            EXPORT add_asm //EXPORT declares the file add_asm, so it can be used by the linker when necessary
            ADD R0, R1 //Adds values stored in R1 and R0 and stores it in R0
            BX LR //Branch to link register
            ENDP //End of procedure
            ALIGN //Aligns the current location to a specified boundary by padding with 0s
            END //End of program