Next: , Previous: , Up: Imperative Language Interpreter Functions   [Index]


5.8.3.14 x1f4_look_program

extern int x1f4_look_program
    (void *program, unsigned *line);

The x1f4_look_program function stores some byte offset in the textual representation of the program program at the address indicated by line. The offset may be indicative of the source position of the next instruction to be executed, and as well as of the source position of the instruction whose execution just failed (since instruction pointer is not advanced for execution failures). The function is intended to help with determining where and why the program execution failed.

The function returns 0.

For step by step program execution for which a step by step execution context was created the x1f4_look_routine function should be used instead.

See x1f4_look_routine.