llvm-project/llvm/test/MC/M68k/Data/Classes/MxMove_RI.s

13 lines
362 B
ArmAsm

; RUN: llvm-mc -triple=m68k -show-encoding %s | FileCheck %s
; CHECK: move.b #-1, %d0
; CHECK-SAME: encoding: [0x10,0x3c,0x00,0xff]
move.b #-1, %d0
; CHECK: move.l #42, %a1
; CHECK-SAME: encoding: [0x22,0x7c,0x00,0x00,0x00,0x2a]
move.l #42, %a1
; CHECK: move.l #-1, %a1
; CHECK-SAME: encoding: [0x22,0x7c,0xff,0xff,0xff,0xff]
move.l #-1, %a1