Skip to content

Commit 7acdac2

Browse files
committed
example MC test for MOVE to/from SR
1 parent d830907 commit 7acdac2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
; RUN: llvm-mc -triple=m68k -mcpu=M68000 -show-encoding %s | FileCheck %s
2+
3+
; CHECK: move.w %d1, %sr
4+
; CHECK-SAME: encoding: [0x46,0xc1]
5+
move.w %d1, %sr
6+
7+
; CHECK: move.w %sr, %d1
8+
; CHECK-SAME: encoding: [0x32,0x00]
9+
move.w %sr, %d1

0 commit comments

Comments
 (0)