diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:35 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:48 -0700 |
commit | b1635a5c8e25650a19999c246be321a0794eb58a (patch) | |
tree | a5ce06d138fac34b1e13fb1b06fd91b8b6c55712 /html/examples | |
parent | 540974343290cb9ac0cf55b999447bf563928612 (diff) | |
download | mu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz |
5701
Diffstat (limited to 'html/examples')
-rw-r--r-- | html/examples/ex10.subx.html | 2 | ||||
-rw-r--r-- | html/examples/ex11.subx.html | 8 | ||||
-rw-r--r-- | html/examples/ex8.subx.html | 2 | ||||
-rw-r--r-- | html/examples/ex9.subx.html | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/html/examples/ex10.subx.html b/html/examples/ex10.subx.html index 553af66a..bcf0e466 100644 --- a/html/examples/ex10.subx.html +++ b/html/examples/ex10.subx.html @@ -77,7 +77,7 @@ if ('onhashchange' in window) { <span id="L18" class="LineNr">18 </span><span class="subxComment"># argv[0]: *(esp+4)</span> <span id="L19" class="LineNr">19 </span><span class="subxComment"># argv[1]: *(esp+8)</span> <span id="L20" class="LineNr">20 </span><span class="subxComment"># ...</span> -<span id="L21" class="LineNr">21 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L21" class="LineNr">21 </span> <span class="subxS1Comment"># . prologue</span> <span id="L22" class="LineNr">22 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L23" class="LineNr">23 </span> <span class="subxComment"># argv-equal(argv[1], argv[2])</span> <span id="L24" class="LineNr">24 </span> <span class="subxS2Comment"># . . push argv[2]</span> diff --git a/html/examples/ex11.subx.html b/html/examples/ex11.subx.html index 40f2d124..47c0b289 100644 --- a/html/examples/ex11.subx.html +++ b/html/examples/ex11.subx.html @@ -111,7 +111,7 @@ if ('onhashchange' in window) { <span id="L49" class="LineNr"> 49 </span> <span class="subxComment"># c1: eax</span> <span id="L50" class="LineNr"> 50 </span> <span class="subxComment"># c2: ebx</span> <span id="L51" class="LineNr"> 51 </span> <span class="subxComment">#</span> -<span id="L52" class="LineNr"> 52 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L52" class="LineNr"> 52 </span> <span class="subxS1Comment"># . prologue</span> <span id="L53" class="LineNr"> 53 </span> 55/push-ebp <span id="L54" class="LineNr"> 54 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L55" class="LineNr"> 55 </span> <span class="subxS1Comment"># . save registers</span> @@ -170,7 +170,7 @@ if ('onhashchange' in window) { <span id="L108" class="LineNr">108 </span> 5b/pop-to-ebx <span id="L109" class="LineNr">109 </span> 5a/pop-to-edx <span id="L110" class="LineNr">110 </span> 59/pop-to-ecx -<span id="L111" class="LineNr">111 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L111" class="LineNr">111 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L112" class="LineNr">112 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L113" class="LineNr">113 </span> 5d/pop-to-ebp <span id="L114" class="LineNr">114 </span> c3/return @@ -321,7 +321,7 @@ if ('onhashchange' in window) { <span id="L259" class="LineNr">259 </span> <span id="L260" class="LineNr">260 </span><span class="subxComment"># print msg to stderr if a != b, otherwise print "."</span> <span id="L261" class="LineNr">261 </span><span class="subxFunction">check-ints-equal</span>: <span class="subxComment"># (a : int, b : int, msg : (address array byte)) -> boolean</span> -<span id="L262" class="LineNr">262 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L262" class="LineNr">262 </span> <span class="subxS1Comment"># . prologue</span> <span id="L263" class="LineNr">263 </span> 55/push-ebp <span id="L264" class="LineNr">264 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L265" class="LineNr">265 </span> <span class="subxS1Comment"># . save registers</span> @@ -370,7 +370,7 @@ if ('onhashchange' in window) { <span id="L308" class="LineNr">308 </span> c3/return <span id="L309" class="LineNr">309 </span> <span id="L310" class="LineNr">310 </span><span class="subxFunction">write-stderr</span>: <span class="subxComment"># s : (address array byte) -> <void></span> -<span id="L311" class="LineNr">311 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L311" class="LineNr">311 </span> <span class="subxS1Comment"># . prologue</span> <span id="L312" class="LineNr">312 </span> 55/push-ebp <span id="L313" class="LineNr">313 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L314" class="LineNr">314 </span> <span class="subxS1Comment"># . save registers</span> diff --git a/html/examples/ex8.subx.html b/html/examples/ex8.subx.html index 2a2c0741..1f57fcdf 100644 --- a/html/examples/ex8.subx.html +++ b/html/examples/ex8.subx.html @@ -79,7 +79,7 @@ if ('onhashchange' in window) { <span id="L20" class="LineNr">20 </span><span class="subxS1Comment"># . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes</span> <span id="L21" class="LineNr">21 </span> <span id="L22" class="LineNr">22 </span><span class="SpecialChar">Entry</span>: -<span id="L23" class="LineNr">23 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L23" class="LineNr">23 </span> <span class="subxS1Comment"># . prologue</span> <span id="L24" class="LineNr">24 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L25" class="LineNr">25 </span> <span class="subxComment"># eax = ascii-length(argv[1])</span> <span id="L26" class="LineNr">26 </span> <span class="subxS2Comment"># . . push args</span> diff --git a/html/examples/ex9.subx.html b/html/examples/ex9.subx.html index 291705c9..fbf7b76c 100644 --- a/html/examples/ex9.subx.html +++ b/html/examples/ex9.subx.html @@ -81,7 +81,7 @@ if ('onhashchange' in window) { <span id="L23" class="LineNr">23 </span><span class="subxS1Comment"># . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes</span> <span id="L24" class="LineNr">24 </span> <span id="L25" class="LineNr">25 </span><span class="SpecialChar">Entry</span>: -<span id="L26" class="LineNr">26 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L26" class="LineNr">26 </span> <span class="subxS1Comment"># . prologue</span> <span id="L27" class="LineNr">27 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L28" class="LineNr">28 </span> <span class="subxComment"># ascii-difference(argv[1], argv[2])</span> <span id="L29" class="LineNr">29 </span> <span class="subxS2Comment"># . . push argv[2]</span> |