| |||
| Home > CMM-style commands supported by the debugger > CMM-style commands listed in alphabetical order > print | |||
This command concatenates the results of one or more expressions.
print [%printing_format] expression...
Where:
printing_formatSpecifies either [ | ascii | binary | decimal].
If none specified then the default is decimal format.hex
expressionSpecifies an expression that is evaluated and the result is returned.
Example 170. 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