Proprietary Information © 2016 by Mount Technology, Inc. All Rights Reserved.

 Visual Programming Language

The programming language used inside of the flowchart symbols is based on the Compound Instructions. The language was designed so that there is a 1:1 relationship between the expression used inside of a flowchart symbol and a Compound Instruction. Together, the Flowchart symbols and the Compound Instructions make up our Visual Programming Language (VPL).


“As accurate as Assembly, but as fast as writing C”


Our VPL has the power and granularity of control that Assembly offers, and the speed of creation that C offers. Our Visual Programming Language is positioned between Assembly and C.


The Visual Programming Language is very easy to learn … simple expressions used inside of the flowchart symbols that always use two data values.

Definition flowchart symbols

Supported Addressing Modes

A or B, or both A and B arguments of a Compound Instruction can be addresses.

The supported address modes are:



All of the four basic instruction groups can use any combination of the Address modes above with no clock penalties. Additional modes for DECISNs only:



Note: CTR and ByteAdr above can use Direct and Indirect addressing modes

DMOVE Symbol

Data Movement

DMANIP Symbol

Data Manipulation

PREDEF Symbol

Predefined Functions

DECISN Symbol

Decision / Branching


Four basic instruction groups

The Compound Instructions are divided into four basic instructions groups.


Simple Syntax

All Compound Instructions use two data/address values, referred to as A and B. The Compound Instruction uses A and B along with one or two operator symbols to perform a complete computing operation.


The most common form of expression used with a flowchart symbol is:


     A op B      where A is Data or Address and B is Data or Address and op is an operation symbol


      Examples:

A <- B           DMOVE    Take data from Source B and move it to Destination A


C = A + B      DMANIP   Get data from A and data from B and ADD together and write result to destination C


A <= B          DECISN   Get data from A and check it less than or equal to data from B, Branch if so


Nop               PREDEF   Depends on PREDEF instruction


DECISN Compound Instruction assembly language below

for DECISN flowchart symbol to the left.


DECISN  --(PTRa++)  =0 NextByte



To execute the compound DECISION instruction, the MACROprocessor performs 6 computing operations:


  1. Load counter variable indirectly thru PTRa
  2. Load (-1) for decrement
  3. ADD operation with counter variable
  4. Write new value back into counter variable
  5. Increment PTRa pointer
  6. Conditional Branch to “NextByte”

Our Visual Programming language was developed to provide efficient programming of our MACROprocessor. Below is an example of the efficiency of a single Decision instruction.

A Deeper Look at our Compound Instruction

The DECISION instruction in the flowchart symbol above performs the compound operation of decrementing a RAM-based Counter variable read through a pointer with auto post increment, and conditionally branching based on the resulting counter overflow/underflow.



Back