Re: A83: Unsquish


[Prev][Next][Index][Thread]

Re: A83: Unsquish




On 06-Mar-99, Jimmy Conner (timagic@yahoo.com) wrote:

> ld hl, is_there_a_disassembler
> ld a, (hl)
> or a
> jp nz,thereisone
>thereisntone:
> ret
>thereisone:
> ld de, jimmy
> ld hl, 19_years
> call _delmem
> ret

>    ; This is one of my light humor days...
>And Linus you don't have to point out any mistakes in the program...
>its just for fun and to answer that other email.

Now _that's_ an extremely _inefficient_ way of doing this, you _should've_
done something like:

 ld  a,(is_there_a_disassembler)
 or  a
 ret z
thereisone:
 ld  de,jimmy
 ld  hl,19_years
 jp  _delmem


=)

Linus
                                                           wwww 
                                                          (o)(O)
.-->                                           .-------mm--(__)--mm--------.
| Linus Akesson                                | http://linusworld.cjb.net |
`---------------^-- ----- --- --  -- -  -   -  `---------ooO--Ooo----------'
          Thesaurus: ancient reptile with an excellent vocabulary



References: