Jump to content

Add up Array


Edwin

Recommended Posts

  • 2 weeks later...

Hi,

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.