www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13307] New: AsmTypePrefix documentation is incorrect

https://issues.dlang.org/show_bug.cgi?id=13307

          Issue ID: 13307
           Summary: AsmTypePrefix documentation is incorrect
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: websites
          Assignee: nobody puremagic.com
          Reporter: briancschott gmail.com

AsmTypePrefix:
    near ptr
    far ptr
    byte ptr
    short ptr
    int ptr
    word ptr
    dword ptr
    qword ptr
    float ptr
    double ptr
    real ptr

std.math contains the following line of code:

jge short L_largepositive;

This is not valid according to the documentation on http://dlang.org/iasm.html
because it states that the identifier "ptr" is required after "short".

--
Aug 16 2014