Re: A83: TSE nearing completion


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

Re: A83: TSE nearing completion




In a message dated 07/03/00 01:46:06 GMT Standard Time, 
homosapian@geocities.com writes:

<< Aren't you trashing the stack by _@RandomNumberSeed? _@RandomNumberSeed
 is equated to -2 which is referenced as a data location which -2 =
 $FFFE... so aren't you getting\putting the seed value at $FFFE >>

No, it means $-2 ; the position of the current instruction -2

8000    ld a,($1234)
8003    Seed = $-2

8000 will contain 3C 34 12 (is it 3C ? can't remember) so Seed points
to the LSB of the address ($34). It is self-modifying code