call

The call command calls a function and print the return value.

Command Format

call addr [arg... | -s string]

where:

addr address of function to call
arg expression evaluated and passed as integer argument
-s string passed argument is a pointer to string. See below.

Functional description

The call command calls the function which address is given by the addr expression argument with the parameters given as arg and -s str. A maximum of five arguments can be used. String and integer values can be mixed in any order. String arguments containing spaces must be quoted.

When the called function returns the value returned is displayed in hex and decimal.

It can be useful to have dedicated printout functions in a debugged program that can be called with the call command to display complex data structures when debugging with PMON2000.

Environment

The command uses no environment variable.

See Also

The go (g) command.

Powered by Drupal, an open source content management system