Fixed Debugger memory editing and register handling, tidied up some flag operations, and removed more now-unnecessary address checks in cpustate

This commit is contained in:
Jeff 2016-09-29 09:11:25 -07:00 committed by Jeff Parsons
commit 44a2ec9f03
9 changed files with 576 additions and 519 deletions

View file

@ -659,7 +659,7 @@ if (DEBUGGER) {
};
/**
* toBase(n, nBytes, fStripLeadingZeros)
* toStrBase(n, nBytes, fStripLeadingZeros)
*
* Use this instead of str.toHex() or str.toOct() to convert bytes/words to the Debugger's default base.
*
@ -669,7 +669,7 @@ if (DEBUGGER) {
* @param {boolean} [fStripLeadingZeros]
* @return {string}
*/
Debugger.prototype.toBase = function(n, nBytes, fStripLeadingZeros)
Debugger.prototype.toStrBase = function(n, nBytes, fStripLeadingZeros)
{
var s;
switch(this.nBase) {