[Issue 7387] New: "call" instruction does not understand $
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Jan 28 05:19:05 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7387
           Summary: "call" instruction does not understand $
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2012-01-28 05:19:03 PST ---
Spec says:
> The $ can only appear as the target of a jmp or call instruction.
But this doesn't compile:
void main()
{
    asm
    {
        call $;
        pop EAX;
    }
}
t38b.d(5): bad type/size of operands 'call'
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list