This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help creating an array with registers in assembly

I can't seem to understand how to I make it

I have been trying to use it this way:

MOV @RO,1
INC R0
MOV @R0,2
DEC R0 ;to point back to the 1st value

and it should save value 1 and 2, but it ends up making weird things

any help? Thanks