??? 03/01/09 15:44 Read: times |
#162983 - how is it done in C? Responding to: ???'s previous message |
Chris Bertrand said:
... it looks like it uses the movx command. But I'm not writing it in assembly, so how is it done in C? There is no standard way to do it in 'C' - the standard does not address hardware specifics like this. Therefore, the only way to do it is by a compiler-specific extension to the language - for which you will have to study the manual for the particular compiler that you are using. I thought arrays weren't written to unless you code points and or adjusts the data in the array? There is nothing magic about arrays! They have no special protection against erroneous accesses! See Michael's post for some examples of "erroneous accesses"... |