forked from TCShenanigans/symphony_stdlib
Fixed swapped pop instructions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user