Using expressions

Some commands accept expressions. In an expression you can access the content of registers and variables by using a function-like notation, for example:

print "The result of my expression is: " v.value(myVar)+4+r(R0)

where v.value() can be used to access the content of a variable and r() can be used to access the content of a register.

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452L
Non-ConfidentialID100912