M2_SETI/T1/TP/TP3/T1-TP3-code/TP3-dist/sum.s

13 lines
181 B
ArmAsm
Raw Normal View History

2022-11-18 15:07:43 +01:00
.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