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

Parents
  • But how is it helping, if the goal isn't to give the requester the toolbox to be able to solve their problems themselves?

    "Programming by asking on forums" is an extremely slow and inefficient way to get some work done. Especially since the answers to forum questions is normally limited to the original question - so a bad question gives a bad answer. Only own knowledge lets people realize that maybe they should have asked a completely different question or maybe avoided them from running into a dead end in the first place.

    Software development really do requires lots of reading. And more importantly - it requires the knowledge of how to sift and locate the relevant information.

Reply
  • But how is it helping, if the goal isn't to give the requester the toolbox to be able to solve their problems themselves?

    "Programming by asking on forums" is an extremely slow and inefficient way to get some work done. Especially since the answers to forum questions is normally limited to the original question - so a bad question gives a bad answer. Only own knowledge lets people realize that maybe they should have asked a completely different question or maybe avoided them from running into a dead end in the first place.

    Software development really do requires lots of reading. And more importantly - it requires the knowledge of how to sift and locate the relevant information.

Children
No data