#7483 - funkeejeffou - Wed Jun 18, 2003 4:26 pm
Let's say that I stack r0=0, r1=1, r4=4 consecutively like that :
stmfd sp!, {r0}
....
stmfd sp!, {r1}
....
stmfd sp!, {r4}
.....
When I unstack in one instructiun all my values :
ldmfd sp! {r0-r2}
Does r0 takes the last value in or the first one, ie:
r0 = 0
r1 = 1
r2 = 4
or
r0 = 4
r1 = 1
r2 = 0
Thanks
stmfd sp!, {r0}
....
stmfd sp!, {r1}
....
stmfd sp!, {r4}
.....
When I unstack in one instructiun all my values :
ldmfd sp! {r0-r2}
Does r0 takes the last value in or the first one, ie:
r0 = 0
r1 = 1
r2 = 4
or
r0 = 4
r1 = 1
r2 = 0
Thanks