print

This command concatenates the results of one or more expressions.

Show/hideSyntax

print [%printing_format] expression...

Where:

printing_format

Specifies either [ascii | binary | decimal | hex]. If none specified then the default is decimal format.

expression

Specifies an expression that is evaluated and the result is returned.

Show/hideExample

Example 175. print

print %h r(R0)                  ; Display R0 register in hexadecimal
print %d r(PC)                  ; Display PC register in decimal
print 4+4                       ; Display result of expression in decimal
print "Result is " 4+4          ; Display string and result of expression
print "Value is: " myVar        ; Display string and variable value
print v.value(myVar)            ; Display variable value

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452H
Non-ConfidentialID111711