parseCode($codeARMToParse); $countTime = $oPipeEngine->countCycle(); $tDisplay = $oPipeEngine->getEditorData(); } else { $oPipeEngine = new CortexPipelines('config8.ser', false); $parseTime = $oPipeEngine->parseCode($codeARMToParse); $countTime = $oPipeEngine->countCycle(); $tDisplay = $oPipeEngine->getEditorData(); } } ?> <?= $title ?>

{$permalink} : {$permaLink}

"; echo "
parse Time:" . number_format($parseTime, 3, '.', '') . ' sec. - count Time:' . number_format($countTime, 3, '.', '') . ' sec.
'; ?> ebolaCycle; $instruction = htmlentities($oInstruction->instruction, ENT_QUOTES); if (empty($instruction)) $instruction = ' '; $comment = htmlentities($oInstruction->comment, ENT_QUOTES); $ebolaExecution = substr($ebolaInfo . " ", 0, 8); if (empty($oInstruction->nbCycle)) $ebolaNbCycle = ' '; else if ((int)$oInstruction->nbCycle < 10) $ebolaNbCycle = (int)$oInstruction->nbCycle . 'c'; else if ((int)$oInstruction->nbCycle < 100) $ebolaNbCycle = (int)$oInstruction->nbCycle; else $ebolaNbCycle = '99'; $ebolaColor = ''; $maxLatency = 0; $ebolaLatency = ' '; $ebolaExtraLock = ' '; foreach($oInstruction->tRegBubble AS $r => $n) { /* if ($oInstruction->core == 'neon') $n = (int)($n / 2); */ if ($n > 0) { switch($r) { case 'p0': case 'n0': case 'ls': case 'fu': case 'nq': case 'vq': case 'bp': case 'wb': case 'wn': $ebolaExtraLock = $r; if (empty($ebolaColor)) $ebolaColor = 'f3d59b'; break; default: if ($n > $maxLatency) { $maxLatency = $n; $ebolaLatency = substr("$r:$n ", 0, 6); } $instruction = preg_replace('/(' . $r . ')([^a-z0-9]|$)/i', "$1$2", $instruction); // $instruction = str_replace($r, "$r", $instruction); if (($maxLatency > 1) || ($ebolaExtraLock == ' ')) $ebolaColor = 'f39b9b'; break; } /* if ((($r == 'p0') || ($r == 'n0')) && ($minLatency == 1)) $ebolaColor = 'f3d59b'; else if ((empty($ebolaColor)) || ($minLatency > 1)) $ebolaColor = 'f39b9b'; */ } } if ((!empty($ebolaExtraLock)) && (!empty($ebolaLatency)) && ($ebolaColor == 'f3d59b')) $ebolaLatency = ' '; else if (($ebolaExtraLock == 'p0') && (!empty($ebolaLatency)) && ($ebolaColor == 'f39b9b')) $ebolaExtraLock = ' '; $ebolaInfo = "$ebolaExecution $ebolaNbCycle $ebolaExtraLock $ebolaLatency"; $ebolaInfo .= $infoLatency; if (!empty($ebolaColor)) $ebolaColor = " style='background-color:#{$ebolaColor};'"; $ebolaInfo = str_replace(' ', ' ', $ebolaInfo); if ($oInstruction->splitLabel) { echo ""; $prLoop += 4 * $oInstruction->splitLabel; } if (!empty($prLoop)) $tab = "style='margin-left:{$prLoop}px; border-left:1px solid #c0d0e0;'"; else $tab = ''; if ($oInstruction->type == 'error') { if (!empty($instruction)) { $file = '/opt/web/clients/w/ws-php5/webshaker/pulsar/public_html/sample-asm/problem.txt'; file_put_contents($file, trim($instruction) . "\n", FILE_APPEND); } $instruction = "$instruction"; $comment = "[Unrecognized instruction] " . $comment; } echo "$ebolaInfo "; if ($oInstruction->splitBranch) { echo ""; $prLoop -= 4 * $oInstruction->splitBranch; } } ?>
Ebola Info Instruction Comment
$instruction
$comment

(u.cccc-p ee xx rrr:ll)
  • u
  • cccc
  • p
  • ee
  • xx
    • p0
    • n0
    • ls
    • nq
    • wb
    • wn
  • rrr
  • ll
Code Registre Alias
R0: '/>
R1: '/>
R2: '/>
R3: '/>
R4: '/>
R5: '/>
R6: '/>
R7: '/>