You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
521 B
23 lines
521 B
# RUN: not llvm-mc -triple i686 -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
.text
|
|
int $65535
|
|
# CHECK: error: invalid operand for instruction
|
|
# CHECK: int $65535
|
|
# CHECK: ^
|
|
|
|
int $-129
|
|
# CHECK: error: invalid operand for instruction
|
|
# CHECK: int $-129
|
|
# 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
|
|
# CHECK: ^
|