mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add support for .value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
484291c273
commit
cc3acee7b3
@ -929,6 +929,8 @@ bool AsmParser::ParseStatement() {
|
||||
return ParseDirectiveValue(1);
|
||||
if (IDVal == ".short")
|
||||
return ParseDirectiveValue(2);
|
||||
if (IDVal == ".value")
|
||||
return ParseDirectiveValue(2);
|
||||
if (IDVal == ".long")
|
||||
return ParseDirectiveValue(4);
|
||||
if (IDVal == ".quad")
|
||||
|
@ -36,3 +36,7 @@ TEST4:
|
||||
# CHECK: .quad 1075
|
||||
|
||||
|
||||
TEST5:
|
||||
.value 8
|
||||
# CHECK: TEST5:
|
||||
# CHECK: .short 8
|
||||
|
Loading…
Reference in New Issue
Block a user