naloga_04 join

This commit is contained in:
Gašper Dobrovoljc 2023-12-03 20:45:11 +01:00
parent 26a5ada853
commit 609a89aa8f
No known key found for this signature in database
GPG Key ID: 0E7E037018CFA5A5

View File

@ -9,12 +9,16 @@ stev2: .word 0x00000002
_start: _start:
adr r0, stev1 adr r0, stev1
ldrh r1, [r0] ldrh r1, [r0]
ldrh r2, [r0, #4]
adr r0, stev2
ldrh r2, [r0]
adr r0, stev1
str r2, [r0] str r2, [r0]
str r1, [r0, #4]
adr r0, stev2
str r1, [r0]
2. vaja 2. vaja