mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
4fd3d29275
the invalid cases. At least 16bit operand in 64bit mode is currently not rejected in the parser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153166 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
334 B
ArmAsm
14 lines
334 B
ArmAsm
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
.code64
|
|
movb $0x0, (%esi)
|
|
// CHECK: encoding: [0x67,0xc6,0x06,0x00]
|
|
movb $0x0, (%rsi)
|
|
// CHECK: encoding: [0xc6,0x06,0x00]
|
|
|
|
.code32
|
|
movb $0x0, (%si)
|
|
// CHECK: encoding: [0x67,0xc6,0x06,0x00]
|
|
movb $0x0, (%esi)
|
|
// CHECK: encoding: [0xc6,0x06,0x00]
|