Bug 5963 – iasm does not accept 64bit integer literal

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2011-05-08T14:50:00Z
Last change time
2011-05-21T14:09:51Z
Assigned to
nobody
Creator
govellius

Comments

Comment #0 by govellius — 2011-05-08T14:50:42Z
So far the only x86_64 opcode I know of that takes a 64bit immediate operand ( rel64 or imm64 ) is "mov". Test case: void a() { asm { mov RAX, 0x0123_4567__89AB_CDEF; } } === a.d(2): 1 operands found for mov instead of the expected 2
Comment #1 by bugzilla — 2011-05-21T14:09:51Z