On 01/09/2013 01:35 PM, David Woodhouse wrote:
> On Wed, 2013-01-09 at 13:24 -0800, Jordan Justen wrote:
>>
>> This push won't assemble. ("Invalid instruction operands")
>>
>> There might be a way to get masm to assemble that instruction, but I
>> don't know the magic syntax.
> 
> Hm. it works for me.
> 

Careful... MASM has the nasty property of having identical syntax for
memory operands and memory addresses.

Either way, you want to use LEA here as we want to generate a
RIP-relative address.

        -hpa


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to