Servo signal

Status
Not open for further replies.
Byte is compiler dependent, as well as all the rest of those defines. Many 'bytes' in default compiler configurations are more than 8 bits since modern CPU's are ineventibly more than 8 bits.
 
I thought Byte was a contraction of By Eight and was always 8 bits. Words on the other hand can be any number of bits.

Mike.
Edit, it would appear that history disagrees with me and Byte can vary.
 
Last edited:
It it not always by eight, with C compilers the size of a byte is a compiler define, and on most modern architectures is not 8 bits, as that would be highly inefficient. ANSI C explicitly defines bit and byte size defines. But most other compilers do not. Most compilers will have a default bit depth for their most efficient optimization routines.
 
For me that's a very good explanation and I'll try to make some exercises and tests just to make sure I really understood... So for those of you that understand it very well, there are many people here that post some questions, like me, because they do not understand this kind of thing and do not have a programming experience then when you reply please put some examples... I have no problem to say I don't know and ask a question, but not all people do the same and they think they are bothering to ask again, You know what I mean... Besides there is a language barrier and not all people can express what they think or desire.

Thank very much Gramo and all I really apreciate your help.
 
Kiko said:
Thank very much Gramo and all I really apreciate your help.


No problems Kiko!

When in doubt, just post away, don’t forget about the Proton Help file (probably the best source for all examples and explanations), and you have the whole **broken link removed** at your finger tips too


 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…