Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

32 bits processor optimized code

Status
Not open for further replies.

Robertus

Programmer
Feb 16, 2001
81
0
0
RO
I have a test in front of me. It is about parsing an unsigned char* string, BIT by BIT and I must tell at each call of a certain method, wich is the next "changing element" in that bit string; a "changing element" is in fact a bit with its value different from the value of the previous bit:

00010001 --> here the 4-th and 5-th and 8-th bits are "changing elements"

One of the requests is that I should implement the algorithm in a manner that would generate 32-bit processor optimized code. WHAT DO THEY MEAN WITH THAT???? HOW CAN I DO IT???

Please, help me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top