Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20849

BASCOM-AVR : A Byte copy command similar to Mid? : REPLY

$
0
0
- first of all, when having doubts of what is meant in the help : ask. it is the only way to clear it up and to improve it. [quote:995566b49f]What is meant by "increased"?? Does this mean "changed to"? Or "incremented"?[/quote:995566b49f] To my knowledge when i have something, and it increases, i will end up with more. So it will both change since it is not the same as before and it will be higher than before. incremented is indeed a better word. And incremented by what? by 1 since we use bytes. - sample : you leave out part of the help : "By default, option 3 is used as this will copy a block of memory from one memory location to another location." So this will copy by increasing both source and target address. you will end up with 2 duplicate arrays. [quote:995566b49f]What is the new value of L?[/quote:995566b49f] why dont you simply test that? you can see it in the simulator. but it should not be a surprise. You should do some reading on data types and how much memory they use. off course L will always be the same as W ! The memcopy topic would be the wrong one to explain the result. But since a word is 2 bytes, and a long 4 bytes, the long is big enough to hold any value of W. When we get a lot of questions about a statement/topic we change the help. This will result in less support questions and a better help. But there is no intention to go to a level of lego block help where i spell out how 3 blocks would look like when i stack them together. I know the help is never finished and each version we add more info, but there is a limit to which level of explaining we go. when memcopy is still not clear, then let me know.

Viewing all articles
Browse latest Browse all 20849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>