mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
7dd4dc8892
Nothing fancy, just a simple demonstration parser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167181 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
274 B
MonkeyC
17 lines
274 B
MonkeyC
// RUN: llvm-mcmarkup %s | FileCheck %s
|
|
|
|
push {<reg:r1>, <reg:r2>, <reg:r7>}
|
|
sub <reg:sp>, <imm:#132>
|
|
ldr <reg:r0>, <mem:[<reg:r0>, <imm:#4>]>
|
|
|
|
|
|
// CHECK: reg
|
|
// CHECK: reg
|
|
// CHECK: reg
|
|
// CHECK: reg
|
|
// CHECK: imm
|
|
// CHECK: reg
|
|
// CHECK: mem
|
|
// CHECK: reg
|
|
// CHECK: imm
|