470,811 Members | 1,113 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

Algorithm for Packing Registers?

Greetings:

Does anyone have an algorithm for packing registers? For
example, if i had a string like (4, 8, 28, 30, 17, 5, 2, 1)
I would like to pack it for 32 bits like so:

- 30:1
- 4:28
- 17:5:2

Any ideas?

Thanks
Jul 19 '05 #1
0 2347

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by nobull | last post: by
2 posts views Thread by gbb0330 | last post: by
1 post views Thread by gbb0330 | last post: by
18 posts views Thread by Edward Diener | last post: by
4 posts views Thread by Kinsley Turner | last post: by
9 posts views Thread by fraz | last post: by
4 posts views Thread by sklett | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.