VMS Help  —  EXAMINE  Examples
    1.$ RUN   MYPROG
 <Ctrl/Y>

      $ EXAMINE   2678
      0002678:  1F4C5026
      $ CONTINUE

      In this example, the RUN command begins execution of the image
      MYPROG.EXE. While MYPROG is running, pressing Ctrl/Y interrupts
      its execution, and the EXAMINE command displays the contents of
      virtual memory location 2678 (hexadecimal).

    2.$ BASE = %X1C00
      $ READBUF = BASE + %X50
      $ ENDBUF = BASE + %XA0
      $ RUN   TEST
 <Ctrl/Y>

      $ EXAMINE/ASCII READBUF:ENDBUF
      00001C50:  BEGINNING OF FILE MAPPED TO GLOBAL SECTION
         .
         .
         .

      In this example, before executing the program TEST.EXE,
      symbolic names are defined for the program's base address and
      for labels READBUF and ENDBUF; all are expressed in hexadecimal
      format using the radix operator %X. READBUF and ENDBUF define
      offsets from the program base.

      While the program is executing, pressing Ctrl/Y interrupts
      it, and the EXAMINE command displays in ASCII format all data
      between the specified memory locations.
Close Help