63
52
stmfd sp!, {r4-r11, r14} @ R14 is also called LR
64
53
@@ at this point, R0=block, other registers are free.
65
54
add r14, r0, #112 @ R14=&block[8*7], better start from the last row, and decrease the value until row=0, i.e. R12=block.
66
adr r12, __constant_ptr__ @ R12=__constant_ptr__, the vector containing the constants, probably not necessary to reserve a register for it
67
55
@@ add 2 temporary variables in the stack: R0 and R14
68
56
sub sp, sp, #8 @ allow 2 local variables
69
57
str r0, [sp, #0] @ save block in sp[0]