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 4 5.intel_syntax 6 7push 0 8push -1 9push 30 10push 257 11push 65536 12 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] 18 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] 24