Figure 4: The register values after the call to search() at line 61 of Listing 3.

R0  = 0x1
R1  = 0xa
R2  = 0x3
R3  = 0x3
R4  = 0x0
R5  = 0x1c30
R6  = ???
R7  = ???
R8  = 0x182310
R9  = 0x182308
R10 = ???
FP  = ???
IP  = 0x3
SP  = 0x18223c
LR  = 0x13c
PC  = 0x13c