Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

one dimentional array in IAS Instruction set

Status
Not open for further replies.

rizunb

Programmer
Feb 27, 2003
63
CA
Hi People

I am very new to Assembly language and IAS PROGRAMMING.
I want to make a very simple programme using IAS instruction set, I mean instruction like Load, Stor, Jump+, ADD.

Let A = A(1) + A(2) + .... + A(1000)
Let B = B(1) + B(2) + .... + B(1000)

I want to add these two vectors to form an array C such that C(I) = A(1) + B(1) + ..... + A(1000) + B(1000) for I = 1,2....1000.

I am having a hard time starting it, I know the logic that I need to increment I and keep looping until while adding both arrays A & B into array C.

I hope this will be very easy for a lot of people.
I will appreciate if some one could help me by giving some coding example for this question.

Thanks in advance.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top