Adithi Minnasandran / Mbed 2 deprecated calc

Dependencies:   mbed

Committer:
adithi_arun
Date:
Fri Feb 18 14:35:23 2022 +0000
Revision:
1:b9118b4c402e
calculator main cpp code with comments

Who changed what in which revision?

UserRevisionLine numberNew contents of line
adithi_arun 1:b9118b4c402e 1 AREA |.text|, CODE, READONLY //Instructs the assembler to assemble a new code; READONLY is the default
adithi_arun 1:b9118b4c402e 2 mul_asm PROC //start of the procedure
adithi_arun 1:b9118b4c402e 3 EXPORT mul_asm //EXPORT declares the file mul_asm, so it can be used by the linker when necessary
adithi_arun 1:b9118b4c402e 4 MUL R0, R1 //Multiplies values stored in R1 and R0 and stores it in R0
adithi_arun 1:b9118b4c402e 5 BX LR //Branch to link register
adithi_arun 1:b9118b4c402e 6 ENDP //End of procedure
adithi_arun 1:b9118b4c402e 7 ALIGN //Aligns the current location to a specified boundary by padding with 0s
adithi_arun 1:b9118b4c402e 8 END //End of program