MPE/iX Quick Reference Guide (32650-90881)

158 Chapter6
System Debug
Debugging your system
btow (
byteaddress
[
splitstack
])
Formal Declaration
btow:I16 (
byteaddress
:I16 [
splitstack
:bool=FALSE])
func cisetvar
Sets a new value for the speciļ¬ed CI (MPE/iX Command Interpreter) variable.
cisetvar (
civarname newvalue
)
Formal Declaration
cisetvar:bool (
civarname
:str
newvalue
:any)
func civar
Returns the current value of a CI (MPE/iX Command Interpreter) variable.
civar (
civarname
[
stropt
])
Formal Declaration
civar:any (
civarname
:str [
stropt
:str="NOEV"])
func cmaddr
Converts a CM procedure name (or primary/secondary entry point) to a CM logical code
address.
cmaddr (
procname
[
lib
])
Formal Declaration
cmaddr:lcptr (
procname
:str [
lib
:str=''])
func cmbpaddr
Returns the address corresponding to the indicated CM breakpoint index.
cmbpaddr (
bpindex
[
pin
])
Formal Declaration
cmbpaddr:lcptr (
bpindex
:u16 [
pin
:s16=0])
func cmbpindex
Returns the CM breakpoint index associated with the indicated CM code address.
cmbpindex (
cmaddr
[
pin
])
This function accepts the address (either logical or absolute) of an existing CM breakpoint
and returns the logical index number associated with that breakpoint. The default action
is to look for breakpoints set by the current PIN. Breakpoint indices for other PINs
(including the global PIN) may be retrieved by utilizing the optional
pin
parameter.
Formal Declaration