Adithi Minnasandran / Mbed 2 deprecated calc

Dependencies:   mbed

Revision:
1:b9118b4c402e
diff -r f02bd2638bdd -r b9118b4c402e div_asm.s
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/div_asm.s	Fri Feb 18 14:35:23 2022 +0000
@@ -0,0 +1,8 @@
+            AREA |.text|, CODE, READONLY //Instructs the assembler to assemble a new code; READONLY is the default
+div_asm     PROC //start of the procedure
+            EXPORT div_asm //EXPORT declares the file div_asm, so it can be used by the linker when necessary
+            UDIV R0, R1 //divides value in R0 by value in R1
+            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
\ No newline at end of file