- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
for (byte b4 = 0; b4 < 8; b4 += 1)
{
this.setBit(ref value4, b4, !this.getBit(value4, b4));
}
this.RA.Value = value4;
if (value4 == 0)
{
this.setBit(ref value, 0, true);
}
}
}
}
else
{
if (command <= 56)
{
if (command != 48)
{
if (command != 52)
{
if (command == 56)
{
byte value4 = this.RA.Value;
if (this.getBit(value4, 0))
{
this.setBit(ref value, 1, true);
}
for (byte b5 = 0; b5 < 7; b5 += 1)
{
this.setBit(ref value4, b5, this.getBit(value4, b5 + 1));
}
this.setBit(ref value4, 7, false);
this.RA.Value = value4;
if (value4 == 0)
{
this.setBit(ref value, 0, true);
}
}
}
else
{
byte value4 = this.RA.Value;
if (this.getBit(value4, 7))
{
this.setBit(ref value, 1, true);
}
for (byte b6 = 7; b6 > 0; b6 -= 1)
{
this.setBit(ref value4, b6, this.getBit(value4, b6 - 1));
}
this.setBit(ref value4, 0, false);
this.RA.Value = value4;
if (value4 == 0)
{
this.setBit(ref value, 0, true);
}
}
}
else
{
byte value2 = this.RA.Value;
byte value3 = this.RB.Value;
byte b = 0;
for (byte b7 = 0; b7 < 8; b7 += 1)
{
this.setBit(ref b, b7, this.getBit(value2, b7) ^ this.getBit(value3, b7));
}
this.RA.Value = b;
if (b == 0)
{
this.setBit(ref value, 0, true);
}
}
}
else
{
switch (command)
{
case 60:
{
int value5 = (int)this.RA.Value;
int value6 = (int)this.RB.Value;
int num = value5 + value6;
if (num == 0)
{
this.setBit(ref value, 0, true);
}
if (num > 255)
{
this.setBit(ref value, 1, true);
}
this.RA.Value = (byte)num;
break;
}
case 61:
case 62:
case 63:
break;