Jump to content

Add up Array


Recommended Posts

  • 2 weeks later...



What do you mean by "add up the calues of an array"? Do you wish to sum all the values of an array?

If this is the case then of course you can write a simple logic that loads each time a value from the array according to offset and add it to some integer.


What is the operation NOT for an integer? what shoud be the result?

If you wish to toggle all the bits of the integer you can use the utility XOR where A is the number and B should be FFFF.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...