You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Registers RA and RB are logically concatenated with the least-significant bit of RA adjacent to the most-significant bit of RB. The bytes of the resulting value are considered to be numbered from 0 to 31.
559
+
</p>
560
+
<p>
561
+
For each byte slot in registers RC and RT:
562
+
</p>
563
+
<ul>
564
+
<li>The value in register RC is examined, and a result byte is produced as shown in <i>Table 5-1</i>.</li>
565
+
<li>The result byte is inserted into register RT.</li>
566
+
</ul>
567
+
<p>
568
+
<i>Table 5-1. Binary Values in Register RC and Byte Results</i>
569
+
</p>
570
+
<tablestyle="margin-left: 20px;">
571
+
<tr>
572
+
<th>Value in Register RC<br>(Expressed in Binary)</th>
573
+
<th>Result Byte</th>
574
+
</tr>
575
+
<tr>
576
+
<td>10xxxxxx</td>
577
+
<td>0x00</td>
578
+
</tr>
579
+
<tr>
580
+
<td>110xxxxx</td>
581
+
<td>0xFF</td>
582
+
</tr>
583
+
<tr>
584
+
<td>111xxxxx</td>
585
+
<td>0x80</td>
586
+
</tr>
587
+
<tr>
588
+
<td>Otherwise</td>
589
+
<td>The byte of the concatenated register addressed by the rightmost 5 bits of register RC</td>
590
+
</tr>
591
+
</table>
592
+
<prestyle="margin-left: 20px; margin-top: 10px;">
593
+
Rconcat ← RA || RB
594
+
for j = 0 to 15
595
+
b ← RCʲ
596
+
If b₀:₁ = 0b10 then c ← 0x00
597
+
else If b₀:₂ = 0b110 then c ← 0xFF
598
+
else If b₀:₂ = 0b111 then c ← 0x80
599
+
else
600
+
b ← b & 0x1F;
601
+
c ← Rconcatᵇ;
602
+
RTʲ ← c
603
+
end</pre>
604
+
</blockquote>
605
+
495
606
<p>
496
607
<ahref="https://www.youtube.com/watch?v=19ae5Mq2lJE">Here's the video that discusses it</a>
497
608
</p>
@@ -530,8 +641,6 @@ <h2>What can we apply it to?</h2>
0 commit comments