Class Instruction
A class representing a instruction definition and ...
public sealed class Instruction : LogixEnum<Instruction, string>, IEquatable<LogixEnum<Instruction, string>>, IComparable<LogixEnum<Instruction, string>>
- Inheritance
-
Instruction
- Implements
- Inherited Members
Constructors
Instruction(string, bool)
Creates a new Instruction with the provided string key and regex signature pattern.
public Instruction(string key, bool destructive = true)
Parameters
key
stringThe key identifier of the instruction.
destructive
boolOptional bit indicating that the instruction is destructive. Default is
false
.
Fields
ABL
Gets the ABL
instruction definition instance.
public static readonly Instruction ABL
Field Value
ABS
Gets the ABS
instruction definition instance.
public static readonly Instruction ABS
Field Value
ACB
Gets the ACB
instruction definition instance.
public static readonly Instruction ACB
Field Value
ACL
Gets the ACL
instruction definition instance.
public static readonly Instruction ACL
Field Value
ACS
Gets the ACS
instruction definition instance.
public static readonly Instruction ACS
Field Value
ADD
Gets the ADD
instruction definition instance.
public static readonly Instruction ADD
Field Value
AFI
Gets the AFI
instruction definition instance.
public static readonly Instruction AFI
Field Value
AHL
Gets the AHL
instruction definition instance.
public static readonly Instruction AHL
Field Value
ALMA
Gets the ALMA
instruction definition instance.
public static readonly Instruction ALMA
Field Value
ALMD
Gets the ALMD
instruction definition instance.
public static readonly Instruction ALMD
Field Value
AND
Gets the AND
instruction definition instance.
public static readonly Instruction AND
Field Value
ARD
Gets the ARD
instruction definition instance.
public static readonly Instruction ARD
Field Value
ARL
Gets the ARL
instruction definition instance.
public static readonly Instruction ARL
Field Value
ASN
Gets the ASN
instruction definition instance.
public static readonly Instruction ASN
Field Value
ATN
Gets the ATN
instruction definition instance.
public static readonly Instruction ATN
Field Value
AVC
Gets the AVC
instruction definition instance.
public static readonly Instruction AVC
Field Value
AVE
Gets the AVE
instruction definition instance.
public static readonly Instruction AVE
Field Value
AWA
Gets the AWA
instruction definition instance.
public static readonly Instruction AWA
Field Value
AWT
Gets the AWT
instruction definition instance.
public static readonly Instruction AWT
Field Value
BRK
Gets the BRK
instruction definition instance.
public static readonly Instruction BRK
Field Value
BSL
Gets the BSL
instruction definition instance.
public static readonly Instruction BSL
Field Value
BSR
Gets the BSR
instruction definition instance.
public static readonly Instruction BSR
Field Value
BTD
Gets the BTD
instruction definition instance.
public static readonly Instruction BTD
Field Value
CBCM
Gets the CBCM
instruction definition instance.
public static readonly Instruction CBCM
Field Value
CBIM
Gets the CBIM
instruction definition instance.
public static readonly Instruction CBIM
Field Value
CBSSM
Gets the CBSSM
instruction definition instance.
public static readonly Instruction CBSSM
Field Value
CLR
Gets the CLR
instruction definition instance.
public static readonly Instruction CLR
Field Value
CMP
Gets the CMP
instruction definition instance.
public static readonly Instruction CMP
Field Value
CONCAT
Gets the CONCAT
instruction definition instance.
public static readonly Instruction CONCAT
Field Value
COP
Gets the COP
instruction definition instance.
public static readonly Instruction COP
Field Value
COS
Gets the COS
instruction definition instance.
public static readonly Instruction COS
Field Value
CPM
Gets the CPM
instruction definition instance.
public static readonly Instruction CPM
Field Value
CPS
Gets the CPS
instruction definition instance.
public static readonly Instruction CPS
Field Value
CPT
Gets the CPT
instruction definition instance.
public static readonly Instruction CPT
Field Value
CROUT
Gets the CROUT
instruction definition instance.
public static readonly Instruction CROUT
Field Value
CSM
Gets the CSM
instruction definition instance.
public static readonly Instruction CSM
Field Value
CTD
Gets the CTD
instruction definition instance.
public static readonly Instruction CTD
Field Value
CTU
Gets the CTU
instruction definition instance.
public static readonly Instruction CTU
Field Value
DCM
Gets the DCM
instruction definition instance.
public static readonly Instruction DCM
Field Value
DCS
Gets the DCS
instruction definition instance.
public static readonly Instruction DCS
Field Value
DCSRT
Gets the DCSRT
instruction definition instance.
public static readonly Instruction DCSRT
Field Value
DCST
Gets the DCST
instruction definition instance.
public static readonly Instruction DCST
Field Value
DCSTL
Gets the DCSTL
instruction definition instance.
public static readonly Instruction DCSTL
Field Value
DCSTM
Gets the DCSTM
instruction definition instance.
public static readonly Instruction DCSTM
Field Value
DDT
Gets the DDT
instruction definition instance.
public static readonly Instruction DDT
Field Value
DEG
Gets the DEG
instruction definition instance.
public static readonly Instruction DEG
Field Value
DELETE
Gets the DELETE
instruction definition instance.
public static readonly Instruction DELETE
Field Value
DIN
Gets the DIN
instruction definition instance.
public static readonly Instruction DIN
Field Value
DIV
Gets the DIV
instruction definition instance.
public static readonly Instruction DIV
Field Value
DTOS
Gets the DTOS
instruction definition instance.
public static readonly Instruction DTOS
Field Value
DTR
Gets the DTR
instruction definition instance.
public static readonly Instruction DTR
Field Value
ENPEN
Gets the ENPEN
instruction definition instance.
public static readonly Instruction ENPEN
Field Value
EOT
Gets the EOT
instruction definition instance.
public static readonly Instruction EOT
Field Value
EPMS
Gets the EPMS
instruction definition instance.
public static readonly Instruction EPMS
Field Value
EQU
Gets the EQU
instruction definition instance.
public static readonly Instruction EQU
Field Value
ESTOP
Gets the ESTOP
instruction definition instance.
public static readonly Instruction ESTOP
Field Value
EVENT
Gets the EVENT
instruction definition instance.
public static readonly Instruction EVENT
Field Value
FAL
Gets the FAL
instruction definition instance.
public static readonly Instruction FAL
Field Value
FBC
Gets the FBC
instruction definition instance.
public static readonly Instruction FBC
Field Value
FFL
Gets the FFL
instruction definition instance.
public static readonly Instruction FFL
Field Value
FFU
Gets the FFU
instruction definition instance.
public static readonly Instruction FFU
Field Value
FIND
Gets the FIND
instruction definition instance.
public static readonly Instruction FIND
Field Value
FLL
Gets the FLL
instruction definition instance.
public static readonly Instruction FLL
Field Value
FOR
Gets the FOR
instruction definition instance.
public static readonly Instruction FOR
Field Value
FPMS
Gets the FPMS
instruction definition instance.
public static readonly Instruction FPMS
Field Value
FRD
Gets the FRD
instruction definition instance.
public static readonly Instruction FRD
Field Value
FSBM
Gets the FSBM
instruction definition instance.
public static readonly Instruction FSBM
Field Value
FSC
Gets the FSC
instruction definition instance.
public static readonly Instruction FSC
Field Value
GEQ
Gets the GEQ
instruction definition instance.
public static readonly Instruction GEQ
Field Value
GRT
Gets the GRT
instruction definition instance.
public static readonly Instruction GRT
Field Value
GSV
Gets the GSV
instruction definition instance.
public static readonly Instruction GSV
Field Value
INSERT
Gets the INSERT
instruction definition instance.
public static readonly Instruction INSERT
Field Value
IOT
Gets the IOT
instruction definition instance.
public static readonly Instruction IOT
Field Value
JMP
Gets the JMP
instruction definition instance.
public static readonly Instruction JMP
Field Value
JSR
Gets the JSR
instruction definition instance.
public static readonly Instruction JSR
Field Value
JXR
Gets the JXR
instruction definition instance.
public static readonly Instruction JXR
Field Value
LBL
Gets the LBL
instruction definition instance.
public static readonly Instruction LBL
Field Value
LC
Gets the LC
instruction definition instance.
public static readonly Instruction LC
Field Value
LEQ
Gets the LEQ
instruction definition instance.
public static readonly Instruction LEQ
Field Value
LES
Gets the LES
instruction definition instance.
public static readonly Instruction LES
Field Value
LFL
Gets the LFL
instruction definition instance.
public static readonly Instruction LFL
Field Value
LFU
Gets the LFU
instruction definition instance.
public static readonly Instruction LFU
Field Value
LIM
Gets the LIM
instruction definition instance.
public static readonly Instruction LIM
Field Value
LN
Gets the LN
instruction definition instance.
public static readonly Instruction LN
Field Value
LOG
Gets the LOG
instruction definition instance.
public static readonly Instruction LOG
Field Value
LOWER
Gets the LOWER
instruction definition instance.
public static readonly Instruction LOWER
Field Value
MAAT
Gets the MAAT
instruction definition instance.
public static readonly Instruction MAAT
Field Value
MAFR
Gets the MAFR
instruction definition instance.
public static readonly Instruction MAFR
Field Value
MAG
Gets the MAG
instruction definition instance.
public static readonly Instruction MAG
Field Value
MAH
Gets the MAH
instruction definition instance.
public static readonly Instruction MAH
Field Value
MAHD
Gets the MAHD
instruction definition instance.
public static readonly Instruction MAHD
Field Value
MAJ
Gets the MAJ
instruction definition instance.
public static readonly Instruction MAJ
Field Value
MAM
Gets the MAM
instruction definition instance.
public static readonly Instruction MAM
Field Value
MAOC
Gets the MAOC
instruction definition instance.
public static readonly Instruction MAOC
Field Value
MAPC
Gets the MAPC
instruction definition instance.
public static readonly Instruction MAPC
Field Value
MAR
Gets the MAR
instruction definition instance.
public static readonly Instruction MAR
Field Value
MAS
Gets the MAS
instruction definition instance.
public static readonly Instruction MAS
Field Value
MASD
Gets the MASD
instruction definition instance.
public static readonly Instruction MASD
Field Value
MASR
Gets the MASR
instruction definition instance.
public static readonly Instruction MASR
Field Value
MATC
Gets the MATC
instruction definition instance.
public static readonly Instruction MATC
Field Value
MAW
Gets the MAW
instruction definition instance.
public static readonly Instruction MAW
Field Value
MCCD
Gets the MCCD
instruction definition instance.
public static readonly Instruction MCCD
Field Value
MCCM
Gets the MCCM
instruction definition instance.
public static readonly Instruction MCCM
Field Value
MCCP
Gets the MCCP
instruction definition instance.
public static readonly Instruction MCCP
Field Value
MCD
Gets the MCD
instruction definition instance.
public static readonly Instruction MCD
Field Value
MCLM
Gets the MCLM
instruction definition instance.
public static readonly Instruction MCLM
Field Value
MCR
Gets the MCR
instruction definition instance.
public static readonly Instruction MCR
Field Value
MCS
Gets the MCS
instruction definition instance.
public static readonly Instruction MCS
Field Value
MCSD
Gets the MCSD
instruction definition instance.
public static readonly Instruction MCSD
Field Value
MCSR
Gets the MCSR
instruction definition instance.
public static readonly Instruction MCSR
Field Value
MCSV
Gets the MCSV
instruction definition instance.
public static readonly Instruction MCSV
Field Value
MCT
Gets the MCT
instruction definition instance.
public static readonly Instruction MCT
Field Value
MCTP
Gets the MCTP
instruction definition instance.
public static readonly Instruction MCTP
Field Value
MDF
Gets the MDF
instruction definition instance.
public static readonly Instruction MDF
Field Value
MDO
Gets the MDO
instruction definition instance.
public static readonly Instruction MDO
Field Value
MDOC
Gets the MDOC
instruction definition instance.
public static readonly Instruction MDOC
Field Value
MDR
Gets the MDR
instruction definition instance.
public static readonly Instruction MDR
Field Value
MDW
Gets the MDW
instruction definition instance.
public static readonly Instruction MDW
Field Value
MEQ
Gets the MEQ
instruction definition instance.
public static readonly Instruction MEQ
Field Value
MGS
Gets the MGS
instruction definition instance.
public static readonly Instruction MGS
Field Value
MGSD
Gets the MGSD
instruction definition instance.
public static readonly Instruction MGSD
Field Value
MGSP
Gets the MGSP
instruction definition instance.
public static readonly Instruction MGSP
Field Value
MGSR
Gets the MGSR
instruction definition instance.
public static readonly Instruction MGSR
Field Value
MID
Gets the MID
instruction definition instance.
public static readonly Instruction MID
Field Value
MMVC
Gets the MMVC
instruction definition instance.
public static readonly Instruction MMVC
Field Value
MOD
Gets the MOD
instruction definition instance.
public static readonly Instruction MOD
Field Value
MOV
Gets the MOV
instruction definition instance.
public static readonly Instruction MOV
Field Value
MRAT
Gets the MRAT
instruction definition instance.
public static readonly Instruction MRAT
Field Value
MRHD
Gets the MRHD
instruction definition instance.
public static readonly Instruction MRHD
Field Value
MRP
Gets the MRP
instruction definition instance.
public static readonly Instruction MRP
Field Value
MSF
Gets the MSF
instruction definition instance.
public static readonly Instruction MSF
Field Value
MSG
Gets the MSG
instruction definition instance.
public static readonly Instruction MSG
Field Value
MSO
Gets the MSO
instruction definition instance.
public static readonly Instruction MSO
Field Value
MUL
Gets the MUL
instruction definition instance.
public static readonly Instruction MUL
Field Value
MVC
Gets the MVC
instruction definition instance.
public static readonly Instruction MVC
Field Value
MVM
Gets the MVM
instruction definition instance.
public static readonly Instruction MVM
Field Value
NEG
Gets the NEG
instruction definition instance.
public static readonly Instruction NEG
Field Value
NEQ
Gets the NEQ
instruction definition instance.
public static readonly Instruction NEQ
Field Value
NOP
Gets the NOP
instruction definition instance.
public static readonly Instruction NOP
Field Value
NOT
Gets the NOT
instruction definition instance.
public static readonly Instruction NOT
Field Value
ONS
Gets the ONS
instruction definition instance.
public static readonly Instruction ONS
Field Value
OR
Gets the OR
instruction definition instance.
public static readonly Instruction OR
Field Value
OSF
Gets the OSF
instruction definition instance.
public static readonly Instruction OSF
Field Value
OSR
Gets the OSR
instruction definition instance.
public static readonly Instruction OSR
Field Value
OTE
Gets the OTE
instruction definition instance.
public static readonly Instruction OTE
Field Value
OTL
Gets the OTL
instruction definition instance.
public static readonly Instruction OTL
Field Value
OTU
Gets the OTU
instruction definition instance.
public static readonly Instruction OTU
Field Value
PATT
Gets the PATT
instruction definition instance.
public static readonly Instruction PATT
Field Value
PCLF
Gets the PCLF
instruction definition instance.
public static readonly Instruction PCLF
Field Value
PCMD
Gets the PCMD
instruction definition instance.
public static readonly Instruction PCMD
Field Value
PDET
Gets the PDET
instruction definition instance.
public static readonly Instruction PDET
Field Value
PFL
Gets the PFL
instruction definition instance.
public static readonly Instruction PFL
Field Value
PID
Gets the PID
instruction definition instance.
public static readonly Instruction PID
Field Value
POVR
Gets the POVR
instruction definition instance.
public static readonly Instruction POVR
Field Value
PPD
Gets the PPD
instruction definition instance.
public static readonly Instruction PPD
Field Value
PRNP
Gets the PRNP
instruction definition instance.
public static readonly Instruction PRNP
Field Value
PSC
Gets the PSC
instruction definition instance.
public static readonly Instruction PSC
Field Value
PXRQ
Gets the PXRQ
instruction definition instance.
public static readonly Instruction PXRQ
Field Value
RAD
Gets the RAD
instruction definition instance.
public static readonly Instruction RAD
Field Value
RES
Gets the RES
instruction definition instance.
public static readonly Instruction RES
Field Value
RET
Gets the RET
instruction definition instance.
public static readonly Instruction RET
Field Value
RIN
Gets the RIN
instruction definition instance.
public static readonly Instruction RIN
Field Value
ROUT
Gets the ROUT
instruction definition instance.
public static readonly Instruction ROUT
Field Value
RTO
Gets the RTO
instruction definition instance.
public static readonly Instruction RTO
Field Value
RTOS
Gets the RTOS
instruction definition instance.
public static readonly Instruction RTOS
Field Value
SBR
Gets the SBR
instruction definition instance.
public static readonly Instruction SBR
Field Value
SFP
Gets the SFP
instruction definition instance.
public static readonly Instruction SFP
Field Value
SFR
Gets the SFR
instruction definition instance.
public static readonly Instruction SFR
Field Value
SIN
Gets the SIN
instruction definition instance.
public static readonly Instruction SIN
Field Value
SIZE
Gets the SIZE
instruction definition instance.
public static readonly Instruction SIZE
Field Value
SMAT
Gets the SMAT
instruction definition instance.
public static readonly Instruction SMAT
Field Value
SQI
Gets the SQI
instruction definition instance.
public static readonly Instruction SQI
Field Value
SQL
Gets the SQL
instruction definition instance.
public static readonly Instruction SQL
Field Value
SQO
Gets the SQO
instruction definition instance.
public static readonly Instruction SQO
Field Value
SQR
Gets the SQR
instruction definition instance.
public static readonly Instruction SQR
Field Value
SRT
Gets the SRT
instruction definition instance.
public static readonly Instruction SRT
Field Value
SSV
Gets the SSV
instruction definition instance.
public static readonly Instruction SSV
Field Value
STD
Gets the STD
instruction definition instance.
public static readonly Instruction STD
Field Value
STOD
Gets the STOD
instruction definition instance.
public static readonly Instruction STOD
Field Value
STOR
Gets the STOR
instruction definition instance.
public static readonly Instruction STOR
Field Value
SUB
Gets the SUB
instruction definition instance.
public static readonly Instruction SUB
Field Value
SWPB
Gets the SWPB
instruction definition instance.
public static readonly Instruction SWPB
Field Value
TAN
Gets the TAN
instruction definition instance.
public static readonly Instruction TAN
Field Value
THRS
Gets the THRS
instruction definition instance.
public static readonly Instruction THRS
Field Value
THRSE
Gets the THRSE
instruction definition instance.
public static readonly Instruction THRSE
Field Value
TND
Gets the TND
instruction definition instance.
public static readonly Instruction TND
Field Value
TOD
Gets the TOD
instruction definition instance.
public static readonly Instruction TOD
Field Value
TOF
Gets the TOF
instruction definition instance.
public static readonly Instruction TOF
Field Value
TON
Gets the TON
instruction definition instance.
public static readonly Instruction TON
Field Value
TRN
Gets the TRN
instruction definition instance.
public static readonly Instruction TRN
Field Value
TSAM
Gets the TSAM
instruction definition instance.
public static readonly Instruction TSAM
Field Value
TSSM
Gets the TSSM
instruction definition instance.
public static readonly Instruction TSSM
Field Value
UID
Gets the UID
instruction definition instance.
public static readonly Instruction UID
Field Value
UIE
Gets the UIE
instruction definition instance.
public static readonly Instruction UIE
Field Value
UPPER
Gets the UPPER
instruction definition instance.
public static readonly Instruction UPPER
Field Value
XIC
Gets the XIC
instruction definition instance.
public static readonly Instruction XIC
Field Value
XIO
Gets the XIO
instruction definition instance.
public static readonly Instruction XIO
Field Value
XOR
Gets the XOR
instruction definition instance.
public static readonly Instruction XOR
Field Value
XPY
Gets the XPY
instruction definition instance.
public static readonly Instruction XPY
Field Value
Properties
Destructive
Indicates whether the instruction is destructive, meaning the instruction assigns value to it's operands.
public bool Destructive { get; }
Property Value
- bool
true
if the instruction is destructive; otherwise,false
.
Signature
The signature or valid regex pattern of the instruction neutral text.
public string Signature { get; }
Property Value
Remarks
This format string represent a regex capture pattern to help parse NeutralText for the instruction.
Methods
Of(params object[])
Creates a the NeutralText that represents the current instruction with the provided operand arguments.
public NeutralText Of(params object[] operands)
Parameters
operands
object[]The collection of operands that are provided to the instruction signature.
Returns
- NeutralText
A NeutralText instance that represents the instruction logic with provided operand arguments.