>From ASM Studio:
_RANDOM Routine
Generates a pseudo-random number between 0 and 1 and stores it in OP1.
Output OP1 = random number between 0 and 1
How do I work this thing? Is OP1 a register or a "whatever you define it
as?" What would be an example of loading the result into a register "a"?
I have:
ld a, 0
call _RANDOM
call _INTGR
ld hl, a
call _puts
but it doesn't work
thanks
terrence