diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-04-21 08:28:00 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-04-21 08:28:00 -0700 |
commit | a8fb537a88fdbe77cdcbaa05ee28d1cad94550da (patch) | |
tree | d0fad5f8da140435dcf05b631a4b3f315e0c1f86 /html/linux/calls.subx.html | |
parent | d27994a9d73f970a7b54ec71f4ae457da3734daa (diff) | |
download | mu-a8fb537a88fdbe77cdcbaa05ee28d1cad94550da.tar.gz |
.
Diffstat (limited to 'html/linux/calls.subx.html')
-rw-r--r-- | html/linux/calls.subx.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/html/linux/calls.subx.html b/html/linux/calls.subx.html index 0962ae46..2c586b7c 100644 --- a/html/linux/calls.subx.html +++ b/html/linux/calls.subx.html @@ -7,11 +7,11 @@ <meta name="plugin-version" content="vim8.1_v1"> <meta name="syntax" content="none"> <meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> -<meta name="colorscheme" content="minimal-light"> +<meta name="colorscheme" content="minimal-dark"> <style type="text/css"> <!-- -pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #c6c6c6; } -body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } +pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #a8a8a8; } +body { font-size:12pt; font-family: monospace; color: #000000; background-color: #a8a8a8; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxH1Comment { color: #005faf; text-decoration: underline; } @@ -62,18 +62,18 @@ if ('onhashchange' in window) { <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Function calls in a single line.</span> <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span> <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (on Linux):</span> -<span id="L4" class="LineNr"> 4 </span><span class="subxComment"># $ ./translate_subx init.linux [012]*.subx apps/subx-params.subx apps/calls.subx</span> -<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># $ mv a.elf apps/calls</span> +<span id="L4" class="LineNr"> 4 </span><span class="subxComment"># $ ./translate_subx init.linux [012]*.subx subx-params.subx calls.subx</span> +<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># $ mv a.elf calls</span> <span id="L6" class="LineNr"> 6 </span><span class="subxComment">#</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># Example 1:</span> -<span id="L8" class="LineNr"> 8 </span><span class="subxComment"># $ echo '(foo %eax)' | apps/calls</span> +<span id="L8" class="LineNr"> 8 </span><span class="subxComment"># $ echo '(foo %eax)' | calls</span> <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># # . (foo %eax) # output has comments</span> <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># ff 6/subop/push %eax # push</span> <span id="L11" class="LineNr"> 11 </span><span class="subxComment"># e8/call foo/disp32 # call</span> <span id="L12" class="LineNr"> 12 </span><span class="subxComment"># 81 0/subop/add %esp 4/imm32 # undo push</span> <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#</span> <span id="L14" class="LineNr"> 14 </span><span class="subxComment"># Example 2:</span> -<span id="L15" class="LineNr"> 15 </span><span class="subxComment"># $ echo '(foo Var1 *(eax + 4) "blah")' | apps/calls</span> +<span id="L15" class="LineNr"> 15 </span><span class="subxComment"># $ echo '(foo Var1 *(eax + 4) "blah")' | calls</span> <span id="L16" class="LineNr"> 16 </span><span class="subxComment"># # . (foo Var1 *(eax + 4) "blah")</span> <span id="L17" class="LineNr"> 17 </span><span class="subxComment"># 68/push "blah"/imm32</span> <span id="L18" class="LineNr"> 18 </span><span class="subxComment"># ff 6/subop/push *(eax + 4) # push args in..</span> |