[Issue 5302] Inline assembler: Indexing struct fields not possible inside member function
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Aug 21 06:42:32 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=5302
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
The parser for the iasm operator expressions is quite limited compared with the
regular D expressions is quite limited. It is also different in order to be
like the Intel assembler syntax. However, this case can be handled using:
    mov EAX, S.i.offsetof[EDX];
instead of:
    mov EAX, S.i[EDX];
Marked as invalid because there is a way to make it work.
--
    
    
More information about the Digitalmars-d-bugs
mailing list