Re: Disobeying jet engines - why?
- From: Richard Henry <pomerado@xxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 07:31:22 -0800 (PST)
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.
.
- References:
- Re: Disobeying jet engines - why?
- From: Damon Hill
- Re: Disobeying jet engines - why?
- From: Glen Walpert
- Re: Disobeying jet engines - why?
- From: John Larkin
- Re: Disobeying jet engines - why?
- From: Martin Brown
- Re: Disobeying jet engines - why?
- From: John Larkin
- Re: Disobeying jet engines - why?
- From: Terry Given
- Re: Disobeying jet engines - why?
- From: John Larkin
- Re: Disobeying jet engines - why?
- From: Joel Koltner
- Re: Disobeying jet engines - why?
- From: John Larkin
- Re: Disobeying jet engines - why?
- From: Martin Brown
- Re: Disobeying jet engines - why?
- From: John Larkin
- Re: Disobeying jet engines - why?
- From: Jan Panteltje
- Re: Disobeying jet engines - why?
- From: Didi
- Re: Disobeying jet engines - why?
- From: Jan Panteltje
- Re: Disobeying jet engines - why?
- From: Didi
- Re: Disobeying jet engines - why?
- From: Jan Panteltje
- Re: Disobeying jet engines - why?
- From: Joel Koltner
- Re: Disobeying jet engines - why?
- From: Martin Brown
- Re: Disobeying jet engines - why?
- From: MooseFET
- Re: Disobeying jet engines - why?
- Prev by Date: Re: Possible High LED current with long life time
- Next by Date: Re: Disobeying jet engines - why?
- Previous by thread: Re: Disobeying jet engines - why?
- Next by thread: Re: Disobeying jet engines - why?
- Index(es):
Relevant Pages
|
Loading