Skip to content

Commit

Permalink
Added COA Lab 4
Browse files Browse the repository at this point in the history
  • Loading branch information
SOMNATH0904 committed May 1, 2024
1 parent 447eadd commit 00f7fe0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.global _start
_start:

mov r0,#0x03
mov r1, #0x05
add r2,r0,#0x08
subs r3,r1,#0x04

s:
b s
.end
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.global _start
_start:

ldr r0,=list
ldr r1,[r0],#4
ldr r2,[r0],#4

add r3,r1,r2
subs r4,r1,r2

ldr r5,[r0]
mul r6,r5,r5

mov r7,#1
swi 0

.data
list:
.word 2,3,4
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 00f7fe0

Please sign in to comment.