Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

help with shufps

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 noatom   Members   

925
Like
0Likes
Like

Posted 19 December 2012 - 11:51 AM

If there is someone who knows how to use it...please explain.I don't understand how the hex value affects the changes,and what is going on exactly.

#2 Zaoshi Kaba   Members   

8289
Like
0Likes
Like

Posted 19 December 2012 - 12:06 PM

This should help: http://msdn.microsoft.com/en-us/library/4d3eabky(v=vs.80).aspx

#3 noatom   Members   

925
Like
0Likes
Like

Posted 19 December 2012 - 02:00 PM

It actually helped a lot.Even though the book I'm reading doesn't use that macro,it just uses a hex value to specify what and where to move,I understand it now.Thanks a lot!

Posted Image

But that is how the data looks in a register? It's read from right to left?
I thought only the shuffle command is read from right to left.

you know,if you'd give a shuffle command like 1,3,5,9 it would be read 9,5,3,1.But the data in the register is also put from right to left?

I mean does it look like this?
127.................................0 ?

Edited by noatom, 19 December 2012 - 02:12 PM.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.