> ASM_PFX(FspInfoHeaderRelativeOff): > > DD 0x12345678 ; This value must be patched by the build > script > > - and rax, 0xffffffff > > + mov eax, eax ; equal to and rax, 0xFFFFFFFF
Based on the discussion, we know "mov eax, eax" clears upper 32bits of RAX. But this code looks very confusing. Is there any other instruction that can do the same thing? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#101399): https://edk2.groups.io/g/devel/message/101399 Mute This Topic: https://groups.io/mt/97678369/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-