Topic: Plate Stacks and Katamari
I am working on my pre-lab for tomorrow's lab for my ARM Assembly class. 

The question for me pre-lab is as follows:
[Overview: Write a program in ARM assembly language: use the stack frame concept to implement a program of adding 150 numbers. Use the MACRO program in Assignment 2 to generate an array that include numbers 1 to 150.

Instructions:
1- Write a subroutine to add the two last pushed value in the stack and store it in the location of the second value in the stack, and name your subroutine "addsubroutine".
2- Use "memorygenerate" macro code to generate an array of numbers from 1 to 150 and name the array "myArray"
3- Write a program using "addsubroutine" and stack to add elements in your "myArray" and save the total sum value in a variable named "sumOfarray"]


Now I have already done the macro for "memorygenerate". Let me share it with you to help you in answering my question.

Here is the code for memorygenerate:
.macro memorygenerate DESTINATION, SIZE
	mov r0, #1
	ldr r1, =\DESTINATION

	loop\@:
		str r0, [r1]
		add r1, #4
		add r0, #1

		cmp r0, #\SIZE
		ble loop\@
	.endm

Here is how I am using the macro in the main program:
.data
	.align 4
	myArray: .space 600
.text

.global main
	main:
		memorygenerate myArray, 150

Now can you help me with the pre lab question which asks me to write a draft program in ARM assembly language to solve the problem as described in Assignment 3?

Topic: Plate Stacks and Katamari
Can you give me the code for a pern stack to do list app