diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-08-20 23:23:45 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-08-20 23:23:45 -0700 |
commit | d2c239e1fa07f8d72f4ec5e27e56abbb4395306e (patch) | |
tree | 1d7e6c2048fb9c1c124818710bae1f08a0b7ca71 /html/subx/ex2.subx.html | |
parent | b5737fc0efcd929dc6a66afd0b9537b44ce1290a (diff) | |
download | mu-d2c239e1fa07f8d72f4ec5e27e56abbb4395306e.tar.gz |
4525
Diffstat (limited to 'html/subx/ex2.subx.html')
-rw-r--r-- | html/subx/ex2.subx.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/subx/ex2.subx.html b/html/subx/ex2.subx.html index b0b0e50f..f0b0bc75 100644 --- a/html/subx/ex2.subx.html +++ b/html/subx/ex2.subx.html @@ -67,7 +67,7 @@ if ('onhashchange' in window) { <span id="L12" class="LineNr">12 </span><span class="Comment"># op subop mod rm32 base index scale r32</span> <span id="L13" class="LineNr">13 </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> <span id="L14" class="LineNr">14 </span> bb/copy 1/imm32 <span class="Comment"># copy 1 to EBX</span> -<span id="L15" class="LineNr">15 </span> 81 0/subop/add 3/mod/direct 3/rm32/ebx 1/imm32 <span class="Comment"># add 1 to EBX</span> +<span id="L15" class="LineNr">15 </span> 81 0/subop/add 3/mod/direct 3/rm32/EBX 1/imm32 <span class="Comment"># add 1 to EBX</span> <span id="L16" class="LineNr">16 </span> <span class="Comment"># exit(EBX)</span> <span id="L17" class="LineNr">17 </span> b8/copy 1/imm32 <span class="Comment"># copy 1 to EAX</span> <span id="L18" class="LineNr">18 </span> cd/syscall 0x80/imm8 <span class="Comment"># int 80h</span> |