<div dir="ltr"><div>Hi,<br><br>I find that the X86 assembler can compile code like "mov r8, 0x12345678" without any issues.<br><br>$ echo "mov r8, 0x12345678"|./bin/llvm-mc -assemble -show-encoding -x86-asm-syntax=intel -print-imm-hex -triple=x86_64 <br>    .text<br>    movq    $0x12345678, %r8        # encoding: [0x49,0xc7,0xc0,0x78,0x56,0x34,0x12]<br><br><br></div>However, it fails to compile "mov r8, 0x1234567800":<br><br>$ echo "mov r8, 0x1234567800"|./bin/llvm-mc -assemble -show-encoding -x86-asm-syntax=intel -print-imm-hex -triple=x86_64<br>    .text<br><stdin>:1:1: error: invalid operand for instruction<br>mov r8, 0x1234567800<br>^<br><br><div><br></div><div>Is this a bug?<br><br></div><div>Thank you,<br></div><div>Jun<br></div></div>