mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
Correct comment about ARM immediates using '#' not '$' and TODO for modifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84055 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -537,7 +537,8 @@ bool ARMAsmParser::ParseOperand(ARMOperand &Op) {
|
|||||||
if (!ParseRegisterList(Op))
|
if (!ParseRegisterList(Op))
|
||||||
return false;
|
return false;
|
||||||
case AsmToken::Hash:
|
case AsmToken::Hash:
|
||||||
// $42 -> immediate.
|
// #42 -> immediate.
|
||||||
|
// TODO: ":lower16:" and ":upper16:" modifiers after # before immediate
|
||||||
getLexer().Lex();
|
getLexer().Lex();
|
||||||
const MCExpr *Val;
|
const MCExpr *Val;
|
||||||
if (getParser().ParseExpression(Val))
|
if (getParser().ParseExpression(Val))
|
||||||
|
Reference in New Issue
Block a user