Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mul_asm.s
- Revision:
- 1:b9118b4c402e
diff -r f02bd2638bdd -r b9118b4c402e mul_asm.s --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mul_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 +mul_asm PROC //start of the procedure + EXPORT mul_asm //EXPORT declares the file mul_asm, so it can be used by the linker when necessary + MUL R0, R1 //Multiplies 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 \ No newline at end of file