mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-11-27 12:49:27 +00:00
19 lines
276 B
Plaintext
19 lines
276 B
Plaintext
|
** RAND8
|
||
|
*
|
||
|
LDX #8
|
||
|
LDA RNDL+0
|
||
|
:A
|
||
|
ASL
|
||
|
ROL RNDL+1
|
||
|
BCC :B
|
||
|
EOR #$2D
|
||
|
:B
|
||
|
DEX
|
||
|
BNE :A
|
||
|
STA RNDL+0
|
||
|
STA RETURN
|
||
|
LDY #1
|
||
|
STY RETLEN
|
||
|
CMP #0
|
||
|
RTS
|