This adds support for parsing Motorola-style integers, which are used by default by the existing compilers for the M68k.
These look like $00A0cf for hex and %001010101 for binary. They are used in Motorola assembly syntax.
There's a possible question about how the binary literals will interact with inline assembly in clang.
My apologies for intruding into a draft patch :)
Firstly, I don't believe there is anything wrong with introducing a field in MCAsmInfo.h and setting it in the appropriate target inherited version of it.
However, there seems to be previous precedent within MCAsmLexer.h to support a different class of Integers (LexMasmIntegers). So maybe the field could go directly into MCAsmLexer and could be set in AsmLexer/AsmParser as appropriate?