mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
b3009eec47
correct .s output as well as get the correct encoding by the integrated assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166638 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
280 B
ArmAsm
13 lines
280 B
ArmAsm
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
.intel_syntax
|
|
mov eax, [ebx].0
|
|
mov [ebx].4, ecx
|
|
.att_syntax
|
|
|
|
; CHECK: movl (%ebx), %eax
|
|
; CHECK: encoding: [0x8b,0x03]
|
|
; CHECK: movl %ecx, 4(%ebx)
|
|
; CHECK: encoding: [0x89,0x4b,0x04]
|
|
|