Files
assembly/armv6/tutorial/instructions.s
2019-02-19 22:02:06 +01:00

15 lines
214 B
ArmAsm

@ <intstruction> <destination> , <operand>, <operand>
.global _start
_start:
MOV R1, #0x04
MOV R2, #0x03
MOV R3, #0x08
ADD R0, R1, R1
SUB R0, R1, #0x02
MUL R0, R1, R2
MLA R0, R1, R2, R3
MOV R7, #1
SWI 0