Added some RK11 fixes for the 11/70 CPU EXERCISER, and some Debugger improvements for dumping address info ("da")

This commit is contained in:
Jeff Parsons 2016-12-08 17:05:03 -08:00 committed by Jeff Parsons
commit ba8771adf1
18 changed files with 847 additions and 793 deletions

View file

@ -222,7 +222,7 @@ str.toOct = function(n, cch, fPrefix)
if (cch) {
if (cch > 11) cch = 11;
} else {
cch = (n & ~0xffff)? 11 : 6; // TODO: For our 22-bit machines, we really don't need more than 8 digits max
cch = (n & ~0xffffff)? 11 : ((n & ~0xffff)? 8 : 6);
}
/*
* An initial "falsey" check for null takes care of both null and undefined;