Re: A86:OnTemp.asm


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

Re: A86:OnTemp.asm




How do you do that Jonah?  Here in a bit, you'll probably post one that's even smaller than the one previously posted....

Glen
tutorial1.cjb.net


In a message dated Thu, 13 Jan 2000 10:11:56 AM Eastern Standard Time, ComAsYuAre@aol.com writes:

> 
> One byte smaller :-)
> 
>  ld hl,_alt_on_exec
>  ld a,(hl)
>  dec hl
>  push hl
>  ld de,40
>  ld b,5
> getchecksum:
>  add hl,de
>  add a,(hl)
>  djnz getchecksum
>  pop hl
>  ld (hl),a