mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
21 lines
303 B
ArmAsm
21 lines
303 B
ArmAsm
|
// RUN: llvm-mc %s -triple=i686-pc-windows | FileCheck %s
|
||
|
|
||
|
.intel_syntax
|
||
|
|
||
|
push [eax]
|
||
|
// CHECK: pushl (%eax)
|
||
|
call [eax]
|
||
|
// CHECK: calll *(%eax)
|
||
|
jmp [eax]
|
||
|
// CHECK: jmpl *(%eax)
|
||
|
|
||
|
// mode switch
|
||
|
.code16
|
||
|
|
||
|
push [eax]
|
||
|
// CHECK: pushw (%eax)
|
||
|
call [eax]
|
||
|
// CHECK: callw *(%eax)
|
||
|
jmp [eax]
|
||
|
// CHECK: jmpw *(%eax)
|