Availability:
     All Level  , '-'

  Quick Help:
     Peek Memory Word, -[AddrHi],[AddrLo],[NotUsed],[NumBytes]

  Description:
    The Peek Memory Word command reads and displays the specified word (16-bits) of
    processor memory.

  Input Parameters:

    0 - Memory Address or Memory Address High.
    
        If parameter 1 is not entered, this parameter contains the 32-bit address
        of the memory location to be read and displayed.  If parameter 1 is entered,
        this parameter contains the upper 16-bits of the address of the memory
        location to be read and displayed.
    
          Type:    Unsigned 32-bit value, if parameter 1 is not entered
                   Unsigned 16-bit value, if parameter 1 is entered
    
          Range:   0 to 0xffff, if parameter 1 is not entered
                   0 to 0xfffffffe, if parameter 1 is entered
    
                   The specified address must be a multiple of 2.
    
          Default: 0
    
    1 - Memory Address Low.
    
        If entered, this parameter contains the lower 16-bits of the address of the
        memory location to be read and displayed
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xfffF
    
                   If 2, 4 or 8 bytes are requested (see parameter 3), the address
                   must be a multiple of 2, 4 or 8.
    
          Default: None. If this parameter is not entered, parameter 0 is assumed
                   to specify the entire 32-bit address of the memory location to
                   be read and displayed.
    
    2 - reserved.
    
        Previously this parameter was used to disable validation of the memory address.
        Address validation is no longer performed by this command so there is no longer
        a need for a parameter to disable it.
    
    3 - Number of Bytes to Read and Displayed.
    
        This parameter specifies the number of memory bytes to be read and displayed.
    
          Type:    Unsigned 8-bit value
    
          Range:   Valid values are 1, 2, 4 and 8.
    
          Default: 2

  Output Data:


    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    
    The memory data will be displayed as follows.
    
          "Adr cccccccc ( dddddddd ) = ee"          or
          "Adr cccccccc ( dddddddd ) = ffff"        or
          "Adr cccccccc ( dddddddd ) = gggggggg"
    
       where
    
          cccccccc is the byte offset from the start of the memory
    
          dddddddd is the processor address
    
          ee is an 8-bit value read from memory
    
          ffff is a 16-bit value read from memory
    
          gggggggg is a 32-bit value read from memory
    
  Revision History:

    0001.0000   Initial revision.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).
    0011.0001   Eliminated the Disable Memory Address Validation option (Parameter 2).
                Memory address validation has been eliminated and there is no longer a need
                to disable it.
    0011.0002   Added parameter two to specify length of memory unit.
    0012.0000   The revision restores the default behavior of this command prior to revision
                0011.0002. Revision 0011.0002 was actually a major revision that incorrectly
                altered the meaning of the command parameters and the default command behavior.
                Prior to revision 0011.0002, the entire 32-bit memory address could be entered in
                Parameter 0. Revision 0011.0002 forced the user to enter the most significant
                16-bits of the address in Parameter 0 and the least significant 16-bits of
                the address in Parameter 1. This was incorrrect and has been fixed in revision
                0012.0000. In addition, revision 0011.002 reused Parameter 2 and defined it
                to be the Number Of Bytes to be read and displayed.  By reusing Parameter 2 the
                command was longer backward compatible with older revisions. To restore the
                backward compatibility, the Number Of Bytes to be read and displayed has been
                moved to Parameter 3 and Parameter 2 is now reserved (unused).