Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ALIGN

CANCEL

CHECK

CREATE

DEFINE

DELETE

DEPOSIT

EVALUATE

EXAMINE

EXIT

HELP

INSERT

REPLACE

SET

SHOW

UPDATE

VERIFY

expressions

mode qualifiers

PATCH — MicroVMS 4.6

Additional information available:

ALIGNCANCELCHECKCREATEDEFINEDELETEDEPOSIT
EVALUATEEXAMINEEXITHELPINSERTREPLACESET
SHOWUPDATEVERIFY

expressionsmode qualifiers

expressions

Special operators may be used to reduce expressions in PATCH commands.
The special operators are presented in two tables.  One for Arithmetic
expressions and the second for Addressing.

Note:   PATCH normally evaluates expressions from right to left.
        No arithmetic prececedence is performed.

Special operators for ARITHMETIC expressions:

Operator        Name                    Function

   +            Addition                Addition operator in arithmetic
                                        expressions or unary plus sign

   -            Subtraction             Subtraction operator in arithmetic
                                        expressions or unary minus sign.

   *            Multiplication          Multiplication operator in arithmetic
                                        expressions.

   /            Division                Division operator in arithmetic
                                        expressions.

   @            Shift                   Shift operator in arithmetic
                                        expressions.

  < >           Precedence              Precedence operator in arithmetic
                                        expressions or Bit field delimeters
                                        for the EVALUATE command.

   ^            Radix                   Radix operator for, Hexadecimal,
                                        Decimal, Octal, or Binary notation.


Special operators for ADDRESSING:

Operator        Name                    Function

   .            Current location        Address of the current location.

   ^            Previous location       Address of the previous location.

   :            Range operator          Range operator for the CHECK ECO,
                                        CHECK NOT ECO, EVALUATE, and
                                        EXAMINE commands.

   \            Indirection operator    Displays either the contents of the
                                        location specified in a branch
                                        instruction or the value stored in
                                        an address specified in the previous
                                        EXAMINE command.


mode qualifiers

  Category     Mode       Default           Description
  ________     ____       _______           ___________
               /ASCII              Controls whether data is  accepted
               /NOASCII       [D]  and displayed as ASCII characters

  Context      /INSTRUCTION        Controls whether data is  accepted
               /NOINSTRUCTION [D]  and  displayed  as  VAX/VMS   MACRO
                                   instructions.

               /SYMBOLS       [D]  Controls  whether  addresses   are
               /NOSYMBOLS          reported by pathnames  or  symbols
                                   rather than numeric addresses


               /OCTAL              Determines  the   base  in   which
  Radix        /DECIMAL            numeric  addresses  and  data  are
               /HEXADECIMAL   [D]  interpreted and displayed

               /BYTE               Determines the  length  in   which
  Length       /WORD               numeric   data  is  accepted   and
               /LONG          [D]  displayed

               /GLOBALS            Allows the use of a symbolic entry
               /NOGLOBALS     [D]  ( exactly as entered ) is used  as
  Symbol                           the first or last pathname in a
  Search                           search.

               /SCOPE         [D]  Controls whether  scope's  contri-
               /NOSCOPE            bution to a pathname  is  used  to
                                   find locations.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026