diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-07 22:42:23 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-07 22:42:23 -0700 |
commit | c762564bd754884e847922c99172076fde4d646e (patch) | |
tree | 52b51d72a8e0bf29c94f5c01c13f098399830082 /html/subx/examples/ex4.subx.html | |
parent | 1a62e61df42bfdf001010700c1e1042c67d62ec2 (diff) | |
download | mu-c762564bd754884e847922c99172076fde4d646e.tar.gz |
4539
Diffstat (limited to 'html/subx/examples/ex4.subx.html')
-rw-r--r-- | html/subx/examples/ex4.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/examples/ex4.subx.html b/html/subx/examples/ex4.subx.html index 8191b5c5..94014c9b 100644 --- a/html/subx/examples/ex4.subx.html +++ b/html/subx/examples/ex4.subx.html @@ -59,7 +59,7 @@ if ('onhashchange' in window) { <span id="L4" class="LineNr"> 4 </span><span class="Comment"># $ subx translate ex4.subx ex4</span> <span id="L5" class="LineNr"> 5 </span><span class="Comment"># $ subx run ex4</span> <span id="L6" class="LineNr"> 6 </span> -<span id="L7" class="LineNr"> 7 </span>== <a href='031check_operands.cc.html#L14'>code</a> +<span id="L7" class="LineNr"> 7 </span>== code <span id="L8" class="LineNr"> 8 </span><span class="Comment"># instruction effective address operand displacement immediate</span> <span id="L9" class="LineNr"> 9 </span><span class="Comment"># op subop mod rm32 base index scale r32</span> <span id="L10" class="LineNr">10 </span><span class="Comment"># 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> @@ -90,7 +90,7 @@ if ('onhashchange' in window) { <span id="L35" class="LineNr">35 </span> b8/copy 1/imm32 <span class="Comment"># copy 1 to EAX</span> <span id="L36" class="LineNr">36 </span> cd/syscall 0x80/imm8 <span class="Comment"># int 80h</span> <span id="L37" class="LineNr">37 </span> -<span id="L38" class="LineNr">38 </span>== <a href='011run.cc.html#L122'>data</a> +<span id="L38" class="LineNr">38 </span>== data <span id="L39" class="LineNr">39 </span>x: <span id="L40" class="LineNr">40 </span>00 00 00 00 <span class="Comment"># space for read() to write to</span> <span id="L41" class="LineNr">41 </span> |