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
Eric, You are a professional after all, why You send all of beginners to bible? Please help them. I think they reads the needed books.
The replies to those, in order, are: Yes, he is. Because they need it. That's exactly what he's been doing. No, they don't, or they wouldn't need to be pointed towards the bible.
To slightly expand on the latter aspect: no, these guys don't read the necessary books. That entire generation appears to have summarily discarded the concept of learning stuff by reading. They refuse to read anything thicker than their current cell phone. And woe betide anyone who dares telling them that blind copy'n'paste is no way to learn any engineering discipline.
The OP was supposed to learn something by writing that code, but cheated instead. Now you're about to deprive him even of his last opportunity to learn it, which was by finding out, all by himself, what's actually wrong with the stuff he stole from somewhere on the internet.