2.3.12 print

Concatenates the results of one or more expressions.


print [%printing_formatexpression...



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


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

Example 2-12 Examples

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
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.