<commit_before><!DOCTYPE html>
<html>
  <head>
    <title>WeMips: Online Mips Emulator </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- Bootstrap -->
    <link href="css/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/main.css" rel="stylesheet" >
    <style>

    </style>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

    <link rel="stylesheet" href="css/codemirror.css">
    <script src="js/lib/codemirror.js"></script>
    <script src="js/lib/jquery.min.js"></script>
    <script src="js/lib/underscore-min.js"></script>
    <script src="js/lib.js"></script>
    <script src="js/examples.js"></script>
    <script src="js/mips_syscalls.js"></script>
    <script src="js/mips_instructions.js"></script>
    <script src="js/mips_emulator.js"></script>
    <script src="js/stack.js"></script>
    <script src="js/main.js"></script>
  </head>
  <body>
    <div id="exampleHolder" style='display: none'>
    </div>
    <div id="main" class="container">
      <div class='row'>
        <div class='col-lg-2'>
          <div class="input-group input-group-sm">
            <span class="input-group-addon">Line: </span>
            <input type="text" id="currentLineInput" class="form-control" value='1'>
            <span class="input-group-btn">
              <button class="btn btn-default" id="goToLineButton" type="button">Go!</button>
            </span>
          </div><!-- /input-group -->
        </div>
        <div class='col-lg-8'>
          Load Demos:
          <div class="btn-group" id="codeLoaders">
          </div>
        </div>
        <div class='col-lg-2' align="right">
          <a href="unit_tests/index.html">Unit Tests</a><br />
          <a href="docs/index.html">Docs</a><br />
        </div>
      </div>
      <div class="row">
        <div class="col-lg-8">
          <div id="editorContainer" class="CodeMirror">
            <textarea id="editor" >ADDI $s0, $zero, 10
ADDI $s1, $zero, 9
SB $s0, -10($sp)
SB $s1, -9($sp)
LB $s2, -9($sp)
ADDI $sp, $sp, -1
ADDI $sp, $sp, -2
ADDI $sp, $sp, -3
ADDI $sp, $sp, -5
ADDI $sp, $sp, -9
ADDI $sp, $sp, -14
ADDI $sp, $sp, -23
ADDI $sp, $sp, -37
LB $s3, 0($sp)</textarea>
          </div>
          <br />

          <hr />
        </div>
        
        <div id="registers" class="col-lg-4">
          <button id="step"> Step </button>
          <button id="run"> Run </button>
          <input type="checkbox" id='autoSwitch' checked> Enable auto switching
          <!-- Nav tabs --><commit_msg>updated links to open in new window<commit_after><!DOCTYPE html>
<html>
  <head>
    <title>WeMips: Online Mips Emulator </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- Bootstrap -->
    <link href="css/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/main.css" rel="stylesheet" >
    <style>

    </style>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

    <link rel="stylesheet" href="css/codemirror.css">
    <script src="js/lib/codemirror.js"></script>
    <script src="js/lib/jquery.min.js"></script>
    <script src="js/lib/underscore-min.js"></script>
    <script src="js/lib.js"></script>
    <script src="js/examples.js"></script>
    <script src="js/mips_syscalls.js"></script>
    <script src="js/mips_instructions.js"></script>
    <script src="js/mips_emulator.js"></script>
    <script src="js/stack.js"></script>
    <script src="js/main.js"></script>
  </head>
  <body>
    <div id="exampleHolder" style='display: none'>
    </div>
    <div id="main" class="container">
      <div class='row'>
        <div class='col-lg-2'>
          <div class="input-group input-group-sm">
            <span class="input-group-addon">Line: </span>
            <input type="text" id="currentLineInput" class="form-control" value='1'>
            <span class="input-group-btn">
              <button class="btn btn-default" id="goToLineButton" type="button">Go!</button>
            </span>
          </div><!-- /input-group -->
        </div>
        <div class='col-lg-8'>
          Load Demos:
          <div class="btn-group" id="codeLoaders">
          </div>
        </div>
        <div class='col-lg-2' align="right">
          <a href="unit_tests/index.html" target="about_blank">Unit Tests</a><br />
          <a href="docs/index.html" target='about_blank'>Docs</a><br />
        </div>
      </div>
      <div class="row">
        <div class="col-lg-8">
          <div id="editorContainer" class="CodeMirror">
            <textarea id="editor" >ADDI $s0, $zero, 10
ADDI $s1, $zero, 9
SB $s0, -10($sp)
SB $s1, -9($sp)
LB $s2, -9($sp)
ADDI $sp, $sp, -1
ADDI $sp, $sp, -2
ADDI $sp, $sp, -3
ADDI $sp, $sp, -5
ADDI $sp, $sp, -9
ADDI $sp, $sp, -14
ADDI $sp, $sp, -23
ADDI $sp, $sp, -37
LB $s3, 0($sp)</textarea>
          </div>
          <br />

          <hr />
        </div>
        
        <div id="registers" class="col-lg-4">
          <button id="step"> Step </button>
          <button id="run"> Run </button>
          <input type="checkbox" id='autoSwitch' checked> Enable auto switching
          <!-- Nav tabs -->
{'fraction_non_alphanumeric': 0.20215270770265725, 'fraction_numerical': 0.015136226034308779, 'mean_word_length': 2.455549099360837, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '589701', 'n_tokens_mistral': 2131, 'n_tokens_neox': 2058, 'n_words': 454}