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

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

From: Adhyas Avasthi <>

To: "" <>

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=

- Adhyas
From: Vikas Chaudhary []
Sent: Wednesday, July 30, 2008 1:28 AM
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=

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


To unsubscribe, e-mail:
For additional commands, e-mail: