aboutsummaryrefslogtreecommitdiff
path: root/lib/parsers/asm-parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parsers/asm-parser.js')
-rw-r--r--lib/parsers/asm-parser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parsers/asm-parser.js b/lib/parsers/asm-parser.js
index 6893993a9..d5440e96e 100644
--- a/lib/parsers/asm-parser.js
+++ b/lib/parsers/asm-parser.js
@@ -26,7 +26,7 @@ import _ from 'underscore';
import * as utils from '../utils';
-import { AsmRegex } from './asmregex';
+import {AsmRegex} from './asmregex';
export class AsmParser extends AsmRegex {
constructor(compilerProps) {
@@ -617,7 +617,7 @@ export class AsmParser extends AsmRegex {
match = line.match(this.asmOpcodeRe);
if (match) {
const address = parseInt(match.groups.address, 16);
- const opcodes = match.groups.opcodes.split(' ').filter(x => !!x);
+ const opcodes = (match.groups.opcodes || '').split(' ').filter(x => !!x);
const disassembly = ' ' + AsmRegex.filterAsmLine(match.groups.disasm, filters);
const destMatch = line.match(this.destRe);
if (destMatch) {