I need to read data from a data register n times and calculate the average of that and write it into another data register.... I dont know how to do this at all...

Can anyone help me...

Recommended Answers

All 4 Replies

I need to read data from a data register n times and calculate the average of that and write it into another data register.... I dont know how to do this at all...

You need an assembler level programming. Are you familiar with assembler language(s)?

No.. I don't know how to do that.. If you can give me a small example program I will try to learn...

thank you

Okay what platform and compiler?... It's generally nothing, more than a single line in the inline assembler, unless you're executing it off the heap.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.