12 lines
181 B
ArmAsm
Executable file
12 lines
181 B
ArmAsm
Executable file
.data
|
|
A: .word 10
|
|
B: .word 8
|
|
C: .word 0
|
|
|
|
.text
|
|
main:
|
|
ld r4,A(r0)
|
|
ld r5,B(r0)
|
|
dadd r3,r4,r5
|
|
sd r3,C(r0)
|
|
halt
|