From ce2c1efc41470764126e9a1a7f4e0cfec4213587 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 14 Jul 2019 09:42:36 -0700 Subject: . --- html/subx/011run.cc.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'html/subx/011run.cc.html') diff --git a/html/subx/011run.cc.html b/html/subx/011run.cc.html index 2bbfce44..63ac2fab 100644 --- a/html/subx/011run.cc.html +++ b/html/subx/011run.cc.html @@ -3,8 +3,8 @@ Mu - subx/011run.cc - - + + @@ -14,14 +14,14 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background- body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } -.cSpecial { color: #008000; } .LineNr { } -.Constant { color: #008787; } +.Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } +.cSpecial { color: #008000; } +.Comment { color: #005faf; } .Delimiter { color: #c000c0; } .Special { color: #d70000; } .Identifier { color: #af5f00; } -.Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } -.Comment { color: #005faf; } +.Constant { color: #008787; } .SalientComment { color: #0000af; } --> @@ -39,7 +39,7 @@ function JumpToLine() if (lineNum.indexOf('L') == -1) { lineNum = 'L'+lineNum; } - lineElem = document.getElementById(lineNum); + var lineElem = document.getElementById(lineNum); /* Always jump to new location even if the line was hidden inside a fold, or * we corrected the raw number to a line ID. */ @@ -152,7 +152,7 @@ if ('onhashchange' in window) { 92 load(p); 93 if (trace_contains_errors()) return; 94 while (EIP < End_of_program) - 95 run_one_instruction(); + 95 run_one_instruction(); 96 } 97 98 //:: core data structures @@ -227,7 +227,7 @@ if ('onhashchange' in window) { 167 curr_segment->name = segment_name; 168 curr_segment->start = seg_start; 169 if (trace_contains_errors()) continue; -170 trace(3, "parse") << "starts at address 0x" << HEXWORD << curr_segment->start << end(); +170 trace(3, "parse") << "starts at address 0x" << HEXWORD << curr_segment->start << end(); 171 } 172 break; // skip rest of line 173 } @@ -329,7 +329,7 @@ if ('onhashchange' in window) { 269 uint32_t addr = seg.start; 270 if (!already_allocated(addr)) 271 Mem.push_back(vma(seg.start)); -272 trace(99, "load") << "loading segment " << i << " from " << HEXWORD << addr << end(); +272 trace(99, "load") << "loading segment " << i << " from " << HEXWORD << addr << end(); 273 for (int j = 0; j < SIZE(seg.lines); ++j) { 274 const line& l = seg.lines.at(j); 275 for (int k = 0; k < SIZE(l.words); ++k) { @@ -337,9 +337,9 @@ if ('onhashchange' in window) { 277 uint8_t val = hex_byte(w.data); 278 if (trace_contains_errors()) return; 279 assert(overlap.find(addr) == overlap.end()); -280 write_mem_u8(addr, val); +280 write_mem_u8(addr, val); 281 overlap.insert(addr); -282 trace(99, "load") << "0x" << HEXWORD << addr << " -> " << HEXBYTE << NUM(read_mem_u8(addr)) << end(); +282 trace(99, "load") << "0x" << HEXWORD << addr << " -> " << HEXBYTE << NUM(read_mem_u8(addr)) << end(); 283 ++addr; 284 } 285 } @@ -464,14 +464,14 @@ if ('onhashchange' in window) { 404 //:: run 405 406 :(before "End Initialize Op Names") -407 put_new(Name, "b8", "copy imm32 to EAX (mov)"); +407 put_new(Name, "b8", "copy imm32 to EAX (mov)"); 408 409 //: our first opcode 410 411 :(before "End Single-Byte Opcodes") 412 case 0xb8: { // copy imm32 to EAX 413 const int32_t src = next32(); -414 trace(Callstack_depth+1, "run") << "copy imm32 0x" << HEXWORD << src << " to EAX" << end(); +414 trace(Callstack_depth+1, "run") << "copy imm32 0x" << HEXWORD << src << " to EAX" << end(); 415 Reg[EAX].i = src; 416 break; 417 } -- cgit 1.4.1-2-gfad0