CmdType Type
The following are instructions of the virtual intermediate machine (cmd language) with variables y,x1,x2,y1,y2:
- CmdAssert(x) asserts that x!=0 should hold at this place.
- CmdCopy(y,x) denotes the assignment y := x.
- CmdSglAssign(y,x1,op2,x2) denotes the assignment y := x1 op2 x2 with a binary operator op2.
- CmdDblAssign(y1,y2,x1,op2,x2) denotes the assignment y1,y2 := x1 op2 x2 with a binary operator op2. The rhs is evaluated in full precision and y1@y2 is seen as a double machine word.
- CmdAccessArr(y,x1,x2) denotes y = x1[x2].
- CmdAssignArr(y,x1,x2) denotes y[x1] = x2.
- CmdAssignCnd(y,c,x1,x0) is a conditional assignment y = (c?x1:x0).
- CmdGoto(i) denotes goto(i).
- CmdIfGoto(x,i) denotes if(x) goto(i).
- CmdReturn(x) denotes return(x).
- CmdSync instructs the tread to wait until its writes to the shared variables have been made visible to the other threads.
Union cases
Union case | Description |
Full Usage:
CmdAccessArr(string, string, string)
Parameters:
string
Item2 : string
Item3 : string
|
|
Full Usage:
CmdAssert string
Parameters:
string
|
|
Full Usage:
CmdAssignArr(string, string, string)
Parameters:
string
Item2 : string
Item3 : string
|
|
Full Usage:
CmdAssignCnd(string, string, string, string)
Parameters:
string
Item2 : string
Item3 : string
Item4 : string
|
|
Full Usage:
CmdCopy(string, string)
Parameters:
string
Item2 : string
|
|
|
|
Full Usage:
CmdGoto int
Parameters:
int
|
|
Full Usage:
CmdIfGoto(string, int)
Parameters:
string
Item2 : int
|
|
Full Usage:
CmdReturn string
Parameters:
string
|
|
|
|
Full Usage:
CmdSync
|
|
Instance members
Instance member | Description |
Full Usage:
this.IsCmdAccessArr
Returns: bool
|
|
Full Usage:
this.IsCmdAssert
Returns: bool
|
|
Full Usage:
this.IsCmdAssignArr
Returns: bool
|
|
Full Usage:
this.IsCmdAssignCnd
Returns: bool
|
|
Full Usage:
this.IsCmdCopy
Returns: bool
|
|
Full Usage:
this.IsCmdDblAssign
Returns: bool
|
|
Full Usage:
this.IsCmdGoto
Returns: bool
|
|
Full Usage:
this.IsCmdIfGoto
Returns: bool
|
|
Full Usage:
this.IsCmdReturn
Returns: bool
|
|
Full Usage:
this.IsCmdSglAssign
Returns: bool
|
|
Full Usage:
this.IsCmdSync
Returns: bool
|
|