GETRND question
ozpropdev
Posts: 2,792
in Propeller 2
Is the GETRND instruction supposed to return a random bit pattern like the old P2-Hot GETLFSR instruction?
All attempts to use this instruction returns the same value of $9BDC_06A7
CCCC 1101011 CZ0 DDDDDDDDD 000011011 GETRND {D} {WC,WZ}
All attempts to use this instruction returns the same value of $9BDC_06A7
Comments
Eventually, the loader will take care of this.
I'll be back home soon and I'll see what needs to be done. For now, try COGID with ascending values $20, $40, $80,... $400.
COGID is used to test the 32-bit counter, among other things.
Seems like COGID needs to be renamed....
Edit: or, more realistically, some aliases.
I will fix this in the next FPGA release. Sorry about this.