www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9964] New: R12 Can't Be Dereferenced In Inline Assembler

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9964

           Summary: R12 Can't Be Dereferenced In Inline Assembler
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: dsimcha yahoo.com


--- Comment #0 from David Simcha <dsimcha yahoo.com> 2013-04-19 12:29:03 PDT ---
void main() {
  asm {
    mov RAX, [R12];
  }
}

test.d(3): Error: bad addr mode

Seems to be unique to R12.  Works with gdc.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 19 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9964


David Simcha <dsimcha yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #1 from David Simcha <dsimcha yahoo.com> 2013-04-19 12:31:13 PDT ---
*** This issue has been marked as a duplicate of issue 8827 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 19 2013