Re: Disobeying jet engines - why?



On Jan 31, 6:06 am, MooseFET <kensm...@xxxxxxxxx> wrote:
On Jan 31, 1:43 am, Martin Brown <|||newspam...@xxxxxxxxxxxxxxxxxx>
wrote:
[...]

I challenge the ASM will do everything you need crowd to write a QUINE
(a program which when executed will output itself in sourcecode form) in
their favourite assembler language. I choose to do it in one line of
LISP.

Here you go in 8051:

    ORG     0
    ............   Stuff deleted to save space
    MOV     DPTR,#0

LOOP:
    LCALL   DisasmDptr
    MOV     A,DPL
    ORL     A,DPH
    JNZ     LOOP
    MOV     PCON,#NAP_TIME

Other than the shown, all the code is from the library of stuff I have
already written.


If you are going to call a routine which you are not also showing you
might just as well do a fw file calls to print the source code from
the disk.
.



Relevant Pages

  • Re: Disobeying jet engines - why?
    ... (a program which when executed will output itself in sourcecode form) ... their favourite assembler language. ... might just as well do a fw file calls to print the source code from ... You didn't show the code for the lisp engine ...
    (sci.electronics.design)
  • Re: zeroing out HD
    ... partitions including ext3 or drives that use some kind of compression. ...  If you just want to clean the disk for reuse, ...
    (comp.unix.programmer)
  • Re: default object comparison considered harmful?
    ...     pass ... captures all type errors just by inspecting your source code? ... I would be bouncing localcy and remoticy. ... say, speak, see, talk, and stack. ...
    (comp.lang.python)
  • Re: default object comparison considered harmful?
    ...     pass ... captures all type errors just by inspecting your source code? ... say, speak, see, talk, and stack. ...
    (comp.lang.python)
  • Re: FAQ Question: How do I detect Opera/Netscape/IE
    ...  That's one call in source code (of course, ... browsers which support ECMAScript scripting, and b) the property value is ...   * If neither DOM nor IE event model is supported, ... It is quite pointless to use a feature that is not supported in previous ...
    (comp.lang.javascript)

Loading