1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/AsmParser/motorola_integers.s
Ricky Taylor fa9c348cc4 [M68k] Add support for Motorola literal syntax to AsmParser
These look like $00A0cf for hex and  %001010101 for binary. They are used in Motorola assembly syntax.

Differential Revision: https://reviews.llvm.org/D98519
2021-04-05 20:02:29 +01:00

11 lines
228 B
ArmAsm

# RUN: llvm-mc -triple i386-unknown-unknown -motorola-integers %s | FileCheck %s
# CHECK: .set a, 2882400009
.set a, $aBcDeF09
# CHECK: .set b, 256
.set b, $0100
# CHECK: .set c, 10
.set c, %01010
# CHECK: .set d, 1
.set d, %1