[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / pr22028.s
blobd82b50f051a117c3cc6f60147dc000dc03a6a67e
1 // RUN: llvm-mc -triple i386-unknown-unknown-code16 -show-encoding %s | FileCheck --check-prefix=CHECK16 %s
2 // RUN: llvm-mc -triple i386-unknown-unknown -show-encoding %s | FileCheck %s
3 // RUN: llvm-mc -triple i686-unknown-unknown -show-encoding %s | FileCheck %s
5 .intel_syntax
7 push 0
8 push -1
9 push 30
10 push 257
11 push 65536
13 //CHECK16: pushw $0 # encoding: [0x6a,0x00]
14 //CHECK16: pushw $-1 # encoding: [0x6a,0xff]
15 //CHECK16: pushw $30 # encoding: [0x6a,0x1e]
16 //CHECK16: pushw $257 # encoding: [0x68,0x01,0x01]
17 //CHECK16: pushl $65536 # encoding: [0x66,0x68,0x00,0x00,0x01,0x00]
19 //CHECK: pushl $0 # encoding: [0x6a,0x00]
20 //CHECK: pushl $-1 # encoding: [0x6a,0xff]
21 //CHECK: pushl $30 # encoding: [0x6a,0x1e]
22 //CHECK: pushl $257 # encoding: [0x68,0x01,0x01,0x00,0x00]
23 //CHECK: pushl $65536 # encoding: [0x68,0x00,0x00,0x01,0x00]