From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=34.238.86.106; helo=mail.paulo.ac; envelope-from=paulo@paulo.ac; receiver=edk2-devel@lists.01.org Received: from mail.paulo.ac (mail.paulo.ac [34.238.86.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8A36D21D2BF03 for ; Mon, 22 Jan 2018 05:14:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.paulo.ac (Postfix) with ESMTP id 774BDC09F06; Mon, 22 Jan 2018 13:19:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at paulo.ac X-Spam-Flag: NO X-Spam-Score: -1.1 X-Spam-Level: X-Spam-Status: No, score=-1.1 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no Authentication-Results: mail.paulo.ac (amavisd-new); dkim=pass (1024-bit key) header.d=paulo.ac Received: from mail.paulo.ac ([127.0.0.1]) by localhost (mail.paulo.ac [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yGZGEHmfX7LP; Mon, 22 Jan 2018 13:19:35 +0000 (UTC) Received: from [10.10.6.255] (unknown [15.65.243.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.paulo.ac (Postfix) with ESMTPSA id 1992BC76550; Mon, 22 Jan 2018 13:19:34 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.paulo.ac 1992BC76550 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=paulo.ac; s=default; t=1516627175; bh=39gcfCC2/m58gxAGuKoJLnoKFL1iuh2m2KywadNq/7c=; h=Subject:To:References:From:Date:In-Reply-To:From; b=fV4h2HTLuTLOBdxIfHjNbf0sy+3CoRPMxMVQjtFkPNR7hDgH1mb3ZI+bupGsQd+XI kGESrsLwEl7HRskmnEDDvW9UpxPPz+lIURQhVT/HZZDZiCXMAwkRdunBMoUg1NBjgC M2Mc/wygIvdL0d5EA1/fR58kLfFz354XfjvbHFWc= To: JUNWEN JIA , "edk2-devel@lists.01.org" References: <5a62e8aa.56b56b0a.84753.5dc4@mx.google.com> From: Paulo Alcantara Message-ID: <13c16790-8e53-a88a-090e-2b6004f5e27b@paulo.ac> Date: Mon, 22 Jan 2018 11:19:32 -0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <5a62e8aa.56b56b0a.84753.5dc4@mx.google.com> Subject: Re: EDK II debug question X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 13:14:12 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 > 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