2015-01-14 13:10:21 +08:00
|
|
|
# RUN: not llvm-mc -triple i686 -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
.text
|
|
|
|
int $65535
|
2015-10-12 02:27:24 +08:00
|
|
|
# CHECK: error: invalid operand for instruction
|
2015-01-14 13:10:21 +08:00
|
|
|
# CHECK: int $65535
|
2015-10-12 02:27:24 +08:00
|
|
|
# CHECK: ^
|
|
|
|
|
|
|
|
int $-129
|
|
|
|
# CHECK: error: invalid operand for instruction
|
|
|
|
# CHECK: int $-129
|
2015-10-12 12:17:55 +08:00
|
|
|
# CHECK: ^
|
|
|
|
|
|
|
|
inb $65535, %al
|
|
|
|
# CHECK: error: invalid operand for instruction
|
|
|
|
# CHECK: inb $65535, %al
|
|
|
|
# CHECK: ^
|
|
|
|
|
|
|
|
outb %al, $65535
|
|
|
|
# CHECK: error: invalid operand for instruction
|
|
|
|
# CHECK: outb %al, $65535
|
2015-01-14 13:10:21 +08:00
|
|
|
# CHECK: ^
|