RE: [EDK DEV] How to write assembly prog for EFI.

Subject: RE: [EDK DEV] How to write assembly prog for EFI.

From: Adhyas Avasthi <aavasthi@vmware.com>

To: "dev@edk.tianocore.org" <dev@edk.tianocore.org>

Date: 2008-07-30 16:19:12

I can tell you how to include assembly code with EDK1 but not how to produc=
e EBC (I am not aware of a compiler which generates EBC for assembly, maybe=
 Intel compiler ??)
For assembly, you need your own assembler, I use MASM611 and then define my=
 own DSC file (included Platform.DSC to be executed) to generate the compil=
ed image and then convert it using makefile syntax of the DSC file to gener=
ate any desired output. Relocation is your own headache then. I would not c=
omment on that. You need a Rebase utility (I think MS has one freely availa=
ble).

- Adhyas
________________________________________
From: Vikas Chaudhary [vikas125@gmail.com]
Sent: Wednesday, July 30, 2008 1:28 AM
To: dev@edk.tianocore.org
Subject: [EDK DEV] How to write assembly prog for EFI.

Hi All,

I want to write Assembly code for EFI.
I am using EDK1.3

I want to compile this code with EBC so that I can run this code on all pla=
tforms.

Please give me inputs / sample program for how to write assembly code with =
EFI.

Thanks,
Vikas.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@edk.tianocore.org
For additional commands, e-mail: dev-help@edk.tianocore.org