16.4.2. Running a macro that returns a value

If a macro returns a value, then use the CEXPRESSION command to run the macro. This displays the value returned, for example:

> cexpression tutorial(4)
value=4  Result is: 4  0x00000004


The macro tutorial() is the macro created in Creating a macro.

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N