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

14 lines
194 B
ArmAsm
Raw Normal View History

2022-11-18 15:07:43 +01:00
.data
A: .word 2
B: .word 3
C: .word 0
.text
main:
ld r4,A(r0)
ld r5,B(r0)
dmult r4,r5
mflo r3
sd r3, C(r0)
halt