nMars - Corewars MARS for .NET
Modifier Enumeration
Namespaces > nMars.RedCode > Modifier
Syntax
C#
public enum Modifier
Members
MemberDescription
A
Instruction execution proceeds with the A-value set to the A-number of the A-instruction and the B-value set to the A-number of the B-instruction. A write to core replaces the A-number of the instruction pointed to by the B-pointer.
B
Instruction execution proceeds with the A-value set to the B-number of the A-instruction and the B-value set to the B-number of the B-instruction. A write to core replaces the B-number of the instruction pointed to by the B-pointer.
AB
Instruction execution proceeds with the A-value set to the A-number of the A-instruction and the B-value set to the B-number of the B-instruction. A write to core replaces the B-number of the instruction pointed to by the B-pointer.
BA
Instruction execution proceeds with the A-value set to the B-number of the A-instruction and the B-value set to the A-number of the B-instruction. A write to core replaces the A-number of the instruction pointed to by the B-pointer.
F
Instruction execution proceeds with the A-value set to both the A-number and B-number of the A-instruction (in that order) and the B-value set to both the A-number and B-number of the B-instruction (also in that order). A write to core replaces both the A-number and the B-number of the instruction pointed to by the B-pointer (in that order).
X
Instruction execution proceeds with the A-value set to both the A-number and B-number of the A-instruction (in that order) and the B-value set to both the B-number and A-number of the B-instruction (in that order). A write to to core replaces both the B-number and the A-number of the instruction pointed to by the B-pointer (in that order).
I
Instruction execution proceeds with the A-value set to the A-instruction and the B-value set to the B-instruction. A write to core replaces the entire instruction pointed to by the B-pointer.
NULL
Not defined, unknown

Assembly: nMars.RedCode Version: 0.8.3.0 (Module: nMars.RedCode)