Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5981 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi would anyone be able to give me a view of some code (assembly) that you get on PS2 or GBA as I''ve never seen it before

Share this post

Link to post
Share on other sites
PS2''s Emotion Engine core is based on the MIPS family of CPUs, you''ll find documentation, source code etc at: http://www.mips.com

GBA''s CPU is one of the ARM family of CPUs, once again you''ll find info etc at: http://www.arm.com

PS2 also has the vector processing units where code looks like:

mulq.xyzw BLAH4,BLAH4,q nop
madd.xyz BLAH3,Blah_Blah0,BLAH3 sq.xyzw BLAH1,0x02(BLAHADDR)
mulx.xyz BLAH2,BLAHZ,BLAH sq.xyzw BLAH2,0x05(BLAHADDR)
muly.xyz BLAH1,BLAHY,BLAH sq.xyzw BLAH2,0x0B(BLAHADDR)
clipw.xyz BLAH4,vf0 lqi.xyzw BLAH_X,(BLAHADDR++)

BLAHs are defined variables/registers/memory locations (the names have been changed to protect the...). And yep, the VU assembler does have 2 columns.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!