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

How to 'jump-in-a-lake'



WB>| all i can say is....
WB>|
WB>| LDA #<LAKE
WB>| STA $3FF
WB>| LDA #>LAKE
WB>| STA $300
WB>| JMP ($300)

WB>well, i must slap myself.... that should OBVIOUSLY be JMP ($3FF).

To "continously jump-in-the-lake", you'ld use:

[ Merlin 16 source ]
ORG $300
NOP        ;<Over-written>
LAKE   LDA #<LAKE ;<low-bye>
STA $3FF
LDA #>LAKE ;<high-byte>
STA $300   ;Needed for 6502 processor
STA $400   ;Needed for 'C02, '802, & '816 processors
JMP ($3FF)

<g>

* KingQWK 1.05 # [PK] * Yes, it does kills brain cells - but only the weak ones.

----
+------------------------------------------------------------------------+
|Ye Olde Bailey BBS Zyxel 713-520-1569(V.32bis) USR 713-520-9566(V.34/FC)|
|   Houston,Texas             yob.com           Home of alt.cosuard      |
+------------------------------------------------------------------------+