bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/32531] [GAS] Intel Assembly Bugs (Mishandle Directive Name


From: lh_mouse at 126 dot com
Subject: [Bug binutils/32531] [GAS] Intel Assembly Bugs (Mishandle Directive Names)
Date: Fri, 10 Jan 2025 02:31:17 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32531

LIU Hao <lh_mouse at 126 dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lh_mouse at 126 dot com

--- Comment #1 from LIU Hao <lh_mouse at 126 dot com> ---
You have to quote those names where register names are allowed:
(https://godbolt.org/z/zT81dvWfP)


```
.intel_syntax noprefix
.data
byte:
word:
qword:
    .long 0

.text
test:
    mov     edx, DWORD PTR ["byte"]
    mov     edx, DWORD PTR ["word"]
    mov     edx, DWORD PTR ["qword"]
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]