Every function in asm file should begin with like below to store context:
stmdb sp!, {r4-r11,lr}
ends with like below to restore context:
ldmia sp!, {r4-r11,pc}
ps. in WinCE, the ARM code is little-endian style.
见原出处
ps. in WinCE, the ARM code is little-endian style.
见原出处