mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 21:29:28 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119580 91177308-0d34-0410-b5e6-96231b3b80d8
66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
# RUN: llvm-mc --disassemble %s -triple=mblaze-unknown-unknown | FileCheck %s
|
|
|
|
################################################################################
|
|
# Memory instructions
|
|
################################################################################
|
|
|
|
# CHECK: lbu r1, r2, r3
|
|
0xc0 0x22 0x18 0x00
|
|
|
|
# CHECK: lbur r1, r2, r3
|
|
0xc0 0x22 0x1a 0x00
|
|
|
|
# CHECK: lbui r1, r2, 28
|
|
0xe0 0x22 0x00 0x1c
|
|
|
|
# CHECK: lhu r1, r2, r3
|
|
0xc4 0x22 0x18 0x00
|
|
|
|
# CHECK: lhur r1, r2, r3
|
|
0xc4 0x22 0x1a 0x00
|
|
|
|
# CHECK: lhui r1, r2, 28
|
|
0xe4 0x22 0x00 0x1c
|
|
|
|
# CHECK: lw r1, r2, r3
|
|
0xc8 0x22 0x18 0x00
|
|
|
|
# CHECK: lwr r1, r2, r3
|
|
0xc8 0x22 0x1a 0x00
|
|
|
|
# CHECK: lwi r1, r2, 28
|
|
0xe8 0x22 0x00 0x1c
|
|
|
|
# CHECK: lwx r1, r2, r3
|
|
0xc8 0x22 0x1c 0x00
|
|
|
|
# CHECK: sb r1, r2, r3
|
|
0xd0 0x22 0x18 0x00
|
|
|
|
# CHECK: sbr r1, r2, r3
|
|
0xd0 0x22 0x1a 0x00
|
|
|
|
# CHECK: sbi r1, r2, 28
|
|
0xf0 0x22 0x00 0x1c
|
|
|
|
# CHECK: sh r1, r2, r3
|
|
0xd4 0x22 0x18 0x00
|
|
|
|
# CHECK: shr r1, r2, r3
|
|
0xd4 0x22 0x1a 0x00
|
|
|
|
# CHECK: shi r1, r2, 28
|
|
0xf4 0x22 0x00 0x1c
|
|
|
|
# CHECK: sw r1, r2, r3
|
|
0xd8 0x22 0x18 0x00
|
|
|
|
# CHECK: swr r1, r2, r3
|
|
0xd8 0x22 0x1a 0x00
|
|
|
|
# CHECK: swi r1, r2, 28
|
|
0xf8 0x22 0x00 0x1c
|
|
|
|
# CHECK: swx r1, r2, r3
|
|
0xd8 0x22 0x1c 0x00
|