I'm new to assembler and has a task to write a program that creates pascal triangle, when i get a number N that indicates the depth of the triangle. the question defines to do that by a two-dimension array.
output for example:
1 0 0 0
1 1 0 0
1 2 1 0
etc.
I'm allowed to use only memory that's indicated in the question and use registers. my question is: how can i access the previous cells to calculte the current cell, without losing the current location?
Thank you very much!