mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-01 22:50:35 +00:00
Minor fix for Merlin32
The test for '{' needed more parenthesis.
This commit is contained in:
parent
a7cc9d5a53
commit
bdad8501f0
@ -260,7 +260,7 @@ namespace SourceGen.AsmGen {
|
||||
opcodeStr = sDataOpNames.GetDefineData(length);
|
||||
operand = RawData.GetWord(data, offset, length, false);
|
||||
if (length == 1 && dfd.IsStringOrCharacter &&
|
||||
(operand & 0x7f) == '{' || (operand & 0x7f) == '}') {
|
||||
((operand & 0x7f) == '{' || (operand & 0x7f) == '}')) {
|
||||
// Merlin32 can't handle "DFB '{'", so just output hex.
|
||||
operandStr = formatter.FormatHexValue(operand, length * 2);
|
||||
} else {
|
||||
|
@ -95,7 +95,7 @@ L54321C ldal backchk
|
||||
|
||||
:L543277 jml [lodat]
|
||||
|
||||
fwdval adr $54327d
|
||||
fwdval adr fwdchk
|
||||
|
||||
fwdchk nop
|
||||
nop
|
||||
|
Loading…
Reference in New Issue
Block a user