drsatan316 0 Newbie Poster

I would like to write a loop that will add all the elements of an array together but have absolutely no idea how to access the elements of the array in a loop i.e. in java where you can just use a.

Can anyone help me out?(I'm using MIPS)

Thanks in advance

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.