Fixed swapped pop instructions

This commit is contained in:
Michal Isalski
2026-09-03 20:40:19 +02:00
committed by ShatteredMINT
parent 75da3d730f
commit eb9dbfb8ad
+1 -1
View File
@@ -62,8 +62,8 @@ pub find_index:
find_index_found_item:
add sp, sp, 4 ; The predicate context is not useful
pop r13 ; We get our return address
pop r1 ; We get the array pointer
pop r13 ; We get our return address
sub r1, r11, r1 ; We calculate the bytes from the start
lsr r10, r10, 1 ; We shift the stride to get the amount to shift the bytes for
lsr r1, r1, r10 ; We shift to get the index of the item