mov r3, sp\r
mov r1, #0x0\r
_InitGlobals\r
- str r1, [r3], #4\r
cmp r3, r2\r
- bne _InitGlobals\r
+ beq _PrepareArguments\r
+ str r1, [r3], #4\r
+ b _InitGlobals\r
\r
_PrepareArguments\r
// The PEI Core Entry Point has been computed by GenFV and stored in the second entry of the Reset Vector\r