The Diagnostic
structure contains a general collection of tools to assist with the provision of diagnostics involving general elements of the FI, such as stores. It is not envisaged that these would be used to provide functionality within applications, but, of course, this is not prohibited either.
Note: These tools may be changed or removed altogether in future versions of the FI.
viewStoreFunction
val viewStore : store -> string
Function
val dispStore : store -> store
viewStore()
on the standard output stream and returns the store.
Function
val storeInfo : store ->
{ kind : string,
origin : address,
status : string,
alloc : string,
overflow : string,
size : int,
top : int,
free : int }
Function
val storeData : { store : store, start : int, length : int } -> int list
Function
val storeDataHex : { store : store, start : int, length : int } -> string
Function
storeDataAscii : { store : store, start : int, length : int } -> string
Function
val diffAddr : address -> address -> int
Function