mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
e9f0fb4179
instructions which have no direct register usage. Darwin 'as' accepts: add $0, (%rax) but rejects mov $0, (%rax) for example. Given that, only accept suffix matches which match exactly one form. We still need to emit nice diagnostics for failures... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103015 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
148 B
ArmAsm
7 lines
148 B
ArmAsm
// RUN: llvm-mc -triple x86_64 -o - %s | FileCheck %s
|
|
|
|
// CHECK: addl $0, %eax
|
|
add $0, %eax
|
|
// CHECK: addb $255, %al
|
|
add $0xFF, %al
|