1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-05-31 22:41:37 +00:00

Minor fix for Merlin32

The test for '{' needed more parenthesis.
This commit is contained in:
Andy McFadden 2021-08-23 17:22:56 -07:00
parent a7cc9d5a53
commit bdad8501f0
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -95,7 +95,7 @@ L54321C ldal backchk
:L543277 jml [lodat]
fwdval adr $54327d
fwdval adr fwdchk
fwdchk nop
nop