On 1/20/2018 4:58 AM, JUNWEN JIA wrote:

Hi:
     Could you please tell how to build assembly language using EDK2?
I tried to create a .c file in AppPkg, but it goes like this:
#include<BaseLib.h>
Void main()
{
_asm{}
}
I used X64 to compile this project, but it seems content like _asm{} is not 
supported.
Do I need to add extra files? And  where should I add them?

AFAIK, inline assembly is not supported in X64 MSFT compiler.

Paulo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to