954,479 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Variables

Hi,
Could someone explain to me how to create, store and manipulate variables please?

At the moment i have this but I get errors:

BUTTONPRESSED DEFINE 0x000000

LDR r4, =BUTTONPRESSED ;Seems to be ok
ADD r4, r4, #1 ;Seems to be ok
MOV BUTTONPRESSED, r4 ;'Operand Syntax Error'


All I want to do is add 1 to the variable 'BUTTONPRESSED' and store it for later use, Thanks

Skeldave
Newbie Poster
22 posts since Apr 2011
Reputation Points: 10
Solved Threads: 2
 

Nevermind i've sorted it.

Skeldave
Newbie Poster
22 posts since Apr 2011
Reputation Points: 10
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You