diff options
Diffstat (limited to 'html/apps/sigils.subx.html')
-rw-r--r-- | html/apps/sigils.subx.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/html/apps/sigils.subx.html b/html/apps/sigils.subx.html index 0283638e..bdcc8605 100644 --- a/html/apps/sigils.subx.html +++ b/html/apps/sigils.subx.html @@ -166,7 +166,7 @@ if ('onhashchange' in window) { <span id="L104" class="LineNr"> 104 </span> <span id="L105" class="LineNr"> 105 </span><span class="subxComment"># error messages considered:</span> <span id="L106" class="LineNr"> 106 </span><span class="subxComment"># *x + 34 -> error: base+disp addressing must be within '()'</span> -<span id="L107" class="LineNr"> 107 </span><span class="subxFunction">subx-sigils</span>: <span class="subxComment"># in : (address buffered-file), out : (address buffered-file)</span> +<span id="L107" class="LineNr"> 107 </span><span class="subxFunction">subx-sigils</span>: <span class="subxComment"># in : (addr buffered-file), out : (addr buffered-file)</span> <span id="L108" class="LineNr"> 108 </span> <span class="subxComment"># pseudocode:</span> <span id="L109" class="LineNr"> 109 </span> <span class="subxComment"># var line : (stream byte 512)</span> <span id="L110" class="LineNr"> 110 </span> <span class="subxComment"># while true</span> @@ -1182,7 +1182,7 @@ if ('onhashchange' in window) { <span id="L1359" class="LineNr">1359 </span> 5d/pop-to-ebp <span id="L1360" class="LineNr">1360 </span> c3/return <span id="L1361" class="LineNr">1361 </span> -<span id="L1362" class="LineNr">1362 </span><span class="subxFunction">emit-direct-mode</span>: <span class="subxComment"># out : (address buffered-file), word-slice : (address slice)</span> +<span id="L1362" class="LineNr">1362 </span><span class="subxFunction">emit-direct-mode</span>: <span class="subxComment"># out : (addr buffered-file), word-slice : (addr slice)</span> <span id="L1363" class="LineNr">1363 </span> <span class="subxS1Comment"># . prologue</span> <span id="L1364" class="LineNr">1364 </span> 55/push-ebp <span id="L1365" class="LineNr">1365 </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> @@ -1372,7 +1372,7 @@ if ('onhashchange' in window) { <span id="L1599" class="LineNr">1599 </span><span class="subxComment"># error messages considered:</span> <span id="L1600" class="LineNr">1600 </span><span class="subxComment"># * ... -> error: no space after '*'</span> <span id="L1601" class="LineNr">1601 </span><span class="subxComment"># *(... -> error: *(...) expression must be all on a single line</span> -<span id="L1602" class="LineNr">1602 </span><span class="subxFunction">next-word-or-expression</span>: <span class="subxComment"># line : (address stream byte), out : (address slice)</span> +<span id="L1602" class="LineNr">1602 </span><span class="subxFunction">next-word-or-expression</span>: <span class="subxComment"># line : (addr stream byte), out : (addr slice)</span> <span id="L1603" class="LineNr">1603 </span> <span class="subxComment"># pseudocode:</span> <span id="L1604" class="LineNr">1604 </span> <span class="subxComment"># skip-chars-matching(line, ' ')</span> <span id="L1605" class="LineNr">1605 </span> <span class="subxComment"># if line->read >= line->write # end of line</span> @@ -1980,7 +1980,7 @@ if ('onhashchange' in window) { <span id="L2207" class="LineNr">2207 </span><span class="subxComment"># *(reg1+reg2<<s+disp) -> 2/mod 4/rm32 reg1/base reg2/index s/scale disp/disp32</span> <span id="L2208" class="LineNr">2208 </span><span class="subxComment"># Intermediate structure: base, index, scale, disp</span> <span id="L2209" class="LineNr">2209 </span><span class="subxComment"># Default values: base: 0, index: 4 (none), scale: 0, disp: 0</span> -<span id="L2210" class="LineNr">2210 </span><span class="subxFunction">parse-effective-address</span>: <span class="subxComment"># word-slice : (address slice) -> base/eax, index/ecx, scale/edx, disp/ebx</span> +<span id="L2210" class="LineNr">2210 </span><span class="subxFunction">parse-effective-address</span>: <span class="subxComment"># word-slice : (addr slice) -> base/eax, index/ecx, scale/edx, disp/ebx</span> <span id="L2211" class="LineNr">2211 </span> <span class="subxComment"># pseudocode:</span> <span id="L2212" class="LineNr">2212 </span> <span class="subxComment"># var local-slice = {word-slice->start, word-slice->end}</span> <span id="L2213" class="LineNr">2213 </span> <span class="subxComment"># ++local-slice->start to skip '*'</span> @@ -2443,7 +2443,7 @@ if ('onhashchange' in window) { <span id="L2670" class="LineNr">2670 </span> <span id="L2671" class="LineNr">2671 </span><span class="subxComment"># assumes 'in' starts with a register name, and returns pointer to its code</span> <span id="L2672" class="LineNr">2672 </span><span class="subxComment"># side-effect: modifies 'in' to scan past the initial register name</span> -<span id="L2673" class="LineNr">2673 </span><span class="subxFunction">next-register</span>: <span class="subxComment"># in : (address slice) -> reg/eax : int</span> +<span id="L2673" class="LineNr">2673 </span><span class="subxFunction">next-register</span>: <span class="subxComment"># in : (addr slice) -> reg/eax : int</span> <span id="L2674" class="LineNr">2674 </span> <span class="subxS1Comment"># . prologue</span> <span id="L2675" class="LineNr">2675 </span> 55/push-ebp <span id="L2676" class="LineNr">2676 </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> @@ -2922,7 +2922,7 @@ if ('onhashchange' in window) { <span id="L3149" class="LineNr">3149 </span><span class="subxComment"># if index is none, then mod = 2 and rm32 = base and disp32 = disp</span> <span id="L3150" class="LineNr">3150 </span><span class="subxComment"># emit-sib:</span> <span id="L3151" class="LineNr">3151 </span><span class="subxComment"># if index is not none, then mod = 2 and rm32 = 4 and base = base and index = index and disp32 = disp</span> -<span id="L3152" class="LineNr">3152 </span><span class="subxFunction">emit-indirect-mode</span>: <span class="subxComment"># out : (address buffered-file), base : int, index : int, scale : int, disp : int</span> +<span id="L3152" class="LineNr">3152 </span><span class="subxFunction">emit-indirect-mode</span>: <span class="subxComment"># out : (addr buffered-file), base : int, index : int, scale : int, disp : int</span> <span id="L3153" class="LineNr">3153 </span> <span class="subxS1Comment"># . prologue</span> <span id="L3154" class="LineNr">3154 </span> 55/push-ebp <span id="L3155" class="LineNr">3155 </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> @@ -3456,7 +3456,7 @@ if ('onhashchange' in window) { <span id="L3858" class="LineNr">3858 </span> 5d/pop-to-ebp <span id="L3859" class="LineNr">3859 </span> c3/return <span id="L3860" class="LineNr">3860 </span> -<span id="L3861" class="LineNr">3861 </span><span class="subxFunction">disp32-mode?</span>: <span class="subxComment"># in : (address slice) -> reg/eax : boolean</span> +<span id="L3861" class="LineNr">3861 </span><span class="subxFunction">disp32-mode?</span>: <span class="subxComment"># in : (addr slice) -> reg/eax : boolean</span> <span id="L3862" class="LineNr">3862 </span> <span class="subxS1Comment"># . prologue</span> <span id="L3863" class="LineNr">3863 </span> 55/push-ebp <span id="L3864" class="LineNr">3864 </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> @@ -3515,7 +3515,7 @@ if ('onhashchange' in window) { <span id="L3917" class="LineNr">3917 </span> 5d/pop-to-ebp <span id="L3918" class="LineNr">3918 </span> c3/return <span id="L3919" class="LineNr">3919 </span> -<span id="L3920" class="LineNr">3920 </span><span class="subxFunction">emit-indirect-disp32</span>: <span class="subxComment"># out : (address buffered-file), word-slice : (address slice)</span> +<span id="L3920" class="LineNr">3920 </span><span class="subxFunction">emit-indirect-disp32</span>: <span class="subxComment"># out : (addr buffered-file), word-slice : (addr slice)</span> <span id="L3921" class="LineNr">3921 </span> <span class="subxS1Comment"># . prologue</span> <span id="L3922" class="LineNr">3922 </span> 55/push-ebp <span id="L3923" class="LineNr">3923 </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> @@ -3565,7 +3565,7 @@ if ('onhashchange' in window) { <span id="L3967" class="LineNr">3967 </span><span class="subxComment"># assumes 'in' starts with optional '+' or '-', optional whitespace, and an unsigned integer</span> <span id="L3968" class="LineNr">3968 </span><span class="subxComment"># returns the value of the integer</span> <span id="L3969" class="LineNr">3969 </span><span class="subxComment"># side-effect: modifies 'in' to skip past the integer</span> -<span id="L3970" class="LineNr">3970 </span><span class="subxFunction">next-hex-int</span>: <span class="subxComment"># in : (address slice) -> result/eax</span> +<span id="L3970" class="LineNr">3970 </span><span class="subxFunction">next-hex-int</span>: <span class="subxComment"># in : (addr slice) -> result/eax</span> <span id="L3971" class="LineNr">3971 </span> <span class="subxS1Comment"># . prologue</span> <span id="L3972" class="LineNr">3972 </span> 55/push-ebp <span id="L3973" class="LineNr">3973 </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> @@ -3980,7 +3980,7 @@ if ('onhashchange' in window) { <span id="L4382" class="LineNr">4382 </span><span class="subxComment"># assumes 'in' starts a positive unsigned integer</span> <span id="L4383" class="LineNr">4383 </span><span class="subxComment"># returns the value of the integer</span> <span id="L4384" class="LineNr">4384 </span><span class="subxComment"># side-effect: modifies 'in' to skip past the integer</span> -<span id="L4385" class="LineNr">4385 </span><span class="subxFunction">next-positive-hex-int</span>: <span class="subxComment"># in : (address slice) -> result/eax</span> +<span id="L4385" class="LineNr">4385 </span><span class="subxFunction">next-positive-hex-int</span>: <span class="subxComment"># in : (addr slice) -> result/eax</span> <span id="L4386" class="LineNr">4386 </span> <span class="subxS1Comment"># . prologue</span> <span id="L4387" class="LineNr">4387 </span> 55/push-ebp <span id="L4388" class="LineNr">4388 </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> |