initial commit
This commit is contained in:
14
armv6/tutorial/instructions.s
Normal file
14
armv6/tutorial/instructions.s
Normal file
@@ -0,0 +1,14 @@
|
||||
@ <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
|
||||
Reference in New Issue
Block a user