image/svg+xml R reload thisdirectory r :open_with ^R resetranger E edit e W show log w show back-ground tasks Q quit q close tab TAB prev. tab tab next tab ~ ` openbookmarks ! :shell 1 (1) ESC abort T t tag files Y y yank (3) U u undo ^U move uphalf page I i inspect file :rename(insert) O o sort P p paste (3) { [ move up inparent dir } traverse sub-directories ] move downin parent dir @ :shell %s 2 (1) # :shell -p 3 (1) $ 4 (1) % 5 (1) ^ 6 (1) & 7 (1) * 8 (1) ( 9 (1) ) 0 (1) _ - chmod (2) + chmod (2) = chmod (2) A :rename(append) a :rename (skipextension) S open shell s :shell D d cut (3) (4) move downhalf page ^D F f :find ^F move down1 page G go to top g :cd ... H back inhistory h go up 1directory ^H togglehidden files J move downhalf page j move down K move uphalf page k move up L forward inhistory l enter dir/open file ^L redraw : console ; console ' openbookmarks " tag files withcustom tag CAPSLOCK SHIFT Z ZZ/ZQ = quit z toggleoptions X x ^C C c select files incertain order abort task V visual mode v invertselection B b ^B move up1 page N searchprevious n search next ^N new tab > . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L108" class="LineNr"> 108 </span> <span class="subxComment"># setup</span> <span id="L109" class="LineNr"> 109 </span> <span class="subxS1Comment"># . clear-stream(_test-stream)</span> <span id="L110" class="LineNr"> 110 </span> <span class="subxS2Comment"># . . push args</span> <span id="L111" class="LineNr"> 111 </span> 68/push _test-stream/imm32 <span id="L112" class="LineNr"> 112 </span> <span class="subxS2Comment"># . . call</span> <span id="L113" class="LineNr"> 113 </span> e8/call clear-stream/disp32 <span id="L114" class="LineNr"> 114 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L115" class="LineNr"> 115 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> <span id="L116" class="LineNr"> 116 </span> <span class="subxComment"># var slice/ecx = {0, 0}</span> <span id="L117" class="LineNr"> 117 </span> 68/push 0/imm32/end <span id="L118" class="LineNr"> 118 </span> 68/push 0/imm32/start <span id="L119" class="LineNr"> 119 </span> 89/copy 3/mod/direct 1/rm32/ecx <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 ecx</span> <span id="L120" class="LineNr"> 120 </span> <span class="subxComment"># write(_test-stream, &quot; ab&quot;)</span> <span id="L121" class="LineNr"> 121 </span> <span class="subxS2Comment"># . . push args</span> <span id="L122" class="LineNr"> 122 </span> 68/push <span class="Constant">&quot; ab&quot;</span>/imm32 <span id="L123" class="LineNr"> 123 </span> 68/push _test-stream/imm32 <span id="L124" class="LineNr"> 124 </span> <span class="subxS2Comment"># . . call</span> <span id="L125" class="LineNr"> 125 </span> e8/call write/disp32 <span id="L126" class="LineNr"> 126 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L127" class="LineNr"> 127 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> <span id="L128" class="LineNr"> 128 </span> <span class="subxComment"># next-word(_test-stream, slice)</span> <span id="L129" class="LineNr"> 129 </span> <span class="subxS2Comment"># . . push args</span> <span id="L130" class="LineNr"> 130 </span> 51/push-ecx <span id="L131" class="LineNr"> 131 </span> 68/push _test-stream/imm32 <span id="L132" class="LineNr"> 132 </span> <span class="subxS2Comment"># . . call</span> <span id="L133" class="LineNr"> 133 </span> e8/call next-word/disp32 <span id="L134" class="LineNr"> 134 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L135" class="LineNr"> 135 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> <span id="L136" class="LineNr"> 136 </span> <span class="subxComment"># check-ints-equal(slice-&gt;start - _test-stream-&gt;data, 2, msg)</span> <span id="L137" class="LineNr"> 137 </span> <span class="subxS1Comment"># . check-ints-equal(slice-&gt;start - _test-stream, 14, msg)</span> <span id="L138" class="LineNr"> 138 </span> <span class="subxS2Comment"># . . push args</span> <span id="L139" class="LineNr"> 139 </span> 68/push <span class="Constant">&quot;F - test-next-word: start&quot;</span>/imm32 <span id="L140" class="LineNr"> 140 </span> 68/push 0xe/imm32 <span id="L141" class="LineNr"> 141 </span> <span class="subxS2Comment"># . . push slice-&gt;start - _test-stream</span> <span id="L142" class="LineNr"> 142 </span> 8b/copy 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *ecx to eax</span> <span id="L143" class="LineNr"> 143 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> _test-stream/imm32 <span class="subxComment"># subtract from eax</span> <span id="L144" class="LineNr"> 144 </span> 50/push-eax <span id="L145" class="LineNr"> 145 </span> <span class="subxS2Comment"># . . call</span> <span id="L146" class="LineNr"> 146 </span> e8/call check-ints-equal/disp32 <span id="L147" class="LineNr"> 147 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L148" class="LineNr"> 148 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0xc/imm32 <span class="subxComment"># add to esp</span> <span id="L149" class="LineNr"> 149 </span> <span class="subxComment"># check-ints-equal(slice-&gt;end - _test-stream-&gt;data, 4, msg)</span> <span id="L150" class="LineNr"> 150 </span> <span class="subxS1Comment"># . check-ints-equal(slice-&gt;end - _test-stream, 16, msg)</span> <span id="L151" class="LineNr"> 151 </span> <span class="subxS2Comment"># . . push args</span> <span id="L152" class="LineNr"> 152 </span> 68/push <span class="Constant">&quot;F - test-next-word: end&quot;</span>/imm32 <span id="L153" class="LineNr"> 153 </span> 68/push 0x10/imm32 <span id="L154" class="LineNr"> 154 </span> <span class="subxS2Comment"># . . push slice-&gt;end - _test-stream</span> <span id="L155" class="LineNr"> 155 </span> 8b/copy 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ecx+4) to eax</span> <span id="L156" class="LineNr"> 156 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> _test-stream/imm32 <span class="subxComment"># subtract from eax</span> <span id="L157" class="LineNr"> 157 </span> 50/push-eax <span id="L158" class="LineNr"> 158 </span> <span class="subxS2Comment"># . . call</span> <span id="L159" class="LineNr"> 159 </span> e8/call check-ints-equal/disp32 <span id="L160" class="LineNr"> 160 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L161" class="LineNr"> 161 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0xc/imm32 <span class="subxComment"># add to esp</span> <span id="L162" class="LineNr"> 162 </span> <span class="subxS1Comment"># . epilog</span> <span id="L163" class="LineNr"> 163 </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="L164" class="LineNr"> 164 </span> 5d/pop-to-ebp <span id="L165" class="LineNr"> 165 </span> c3/return <span id="L166" class="LineNr"> 166 </span> <span id="L167" class="LineNr"> 167 </span><span class="subxTest">test-next-word-returns-whole-comment</span>: <span id="L168" class="LineNr"> 168 </span> <span class="subxS1Comment"># . prolog</span> <span id="L169" class="LineNr"> 169 </span> 55/push-ebp <span id="L170" class="LineNr"> 170 </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="L171" class="LineNr"> 171 </span> <span class="subxComment"># setup</span> <span id="L172" class="LineNr"> 172 </span> <span class="subxS1Comment"># . clear-stream(_test-stream)</span> <span id="L173" class="LineNr"> 173 </span> <span class="subxS2Comment"># . . push args</span> <span id="L174" class="LineNr"> 174 </span> 68/push _test-stream/imm32 <span id="L175" class="LineNr"> 175 </span> <span class="subxS2Comment"># . . call</span> <span id="L176" class="LineNr"> 176 </span> e8/call clear-stream/disp32 <span id="L177" class="LineNr"> 177 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L178" class="LineNr"> 178 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> <span id="L179" class="LineNr"> 179 </span> <span class="subxComment"># var slice/ecx = {0, 0}</span> <span id="L180" class="LineNr"> 180 </span> 68/push 0/imm32/end <span id="L181" class="LineNr"> 181 </span> 68/push 0/imm32/start