Difference between revisions of "Random Number Generator"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Copied code for 0x2230c into this page.)
 
Line 1: Line 1:
 
0002230c: 240a00a0 addiu r10,r0,0x00a0     
 
0002230c: 240a00a0 addiu r10,r0,0x00a0     
  
00022310: 01400008 jr r10                # Jump to 0xA0 (system call), with r9 = 0x2f (47). This calls the PSX RNG.
+
00022310: 01400008 jr r10<nowiki>               </nowiki># Jump to 0xA0 (system call), with r9 = 0x2f (47). This calls the PSX RNG.
  
 
00022314: 2409002f addiu r9,r0,0x002f
 
00022314: 2409002f addiu r9,r0,0x002f

Revision as of 16:04, 24 February 2012

0002230c: 240a00a0 addiu r10,r0,0x00a0

00022310: 01400008 jr r10 # Jump to 0xA0 (system call), with r9 = 0x2f (47). This calls the PSX RNG.

00022314: 2409002f addiu r9,r0,0x002f