Fix bug where referencing a label re-sets the pointer to the label address
This commit is contained in:
parent
34e86cd4f8
commit
b16f6927ee
|
|
@ -104,7 +104,6 @@ function decodeInstructions(str) {
|
||||||
} else {
|
} else {
|
||||||
dbg(1, `'${label}' NOT in labels object`);
|
dbg(1, `'${label}' NOT in labels object`);
|
||||||
labels[label] = {
|
labels[label] = {
|
||||||
pointsToByte: byteCursor,
|
|
||||||
bytesToReplace: [byteCursor + 1],
|
bytesToReplace: [byteCursor + 1],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue