[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Self-referential problem



Reply to note from Carl Distefano  Sun, 22 Feb 2009
18:50:41 -0500


What was I thinking? There's no need to parse out bytes 2 and 3 of
the function -- we can just search for the whole thing. Simpler,
more precise, and eliminates the v3.55+ limitation.

Here it is, dated 2/23/09. Discard all previous.

'%--_XYENCode_start--
~'^
SEFN3.PM_for_XyWrite_III+_--_CLD_2/23/09'^
Search_for_any_3-byte_function_by_specifying_its'^
__2-character_plain-text_mnemonic'^
'^
Usage'.'^
RUN_SEFN3.PM_xx'^
__where_"xx"_is_any_(plain-text)_2-char_function_mnemonic'^
__E.g.'._RUN_SEFN3.PM_BC'^
Works_from_cursor_position_to_end_of_file'^
'^
~
~~>
~)<1~>
  ~~>~
~
~~>'NO~>~
'SI'BCpfun_~'XC
'XD'DF'CL'DF~'RD
~~>
~'BCWorking...'DX'GT
~'XD
~~>'CR
~==~~>
  ~'BCjmp_~'XC
  'BC'GT'DO'FF
  ~~
~
~+1024~>'DF'BCjmp_~'XC
'BC'GT'DF
~
~)<1~>'XD
  ~
~
~~{~<0~>
  ~
~
~~>
~+~~{~~>
'XD'BCjmp_~'XC'BC~'GT'DO'FF
~~'^
'^
'%--_XYENCode___end--

--
Carl Distefano
cld@xxxxxxxx