- W I 3 Ttttt N 7 7 The Code As In Figure 2 Is Supposed To Add Two 2 Unsigned Integers In R2 And R4 R5 Has Been Set 1 (47.95 KiB) Viewed 66 times
w I 3. ↑ ttttt N 7 7 The code as in Figure 2 is supposed to add two (2) unsigned integers in R2 and R4. R5 has been set
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
w I 3. ↑ ttttt N 7 7 The code as in Figure 2 is supposed to add two (2) unsigned integers in R2 and R4. R5 has been set
w I 3. ↑ ttttt N 7 7 The code as in Figure 2 is supposed to add two (2) unsigned integers in R2 and R4. R5 has been set as a counter. Your task is to trace the content changes of R2, R4 and R5 by completing Table 2. The starting content of R4 is 5 and R5 is 2. Use Appendix 1 as reference. (Keratan kod di dalam Rajah 2 sepatutnya menjalankan operasi tambah dua (2) integer tidak bertanda di dalam R2 dan R4. R5 telah ditetapkan sebagai pembilang. Tugas anda adalah menjejaki perubahan kandungan bagi R2, R4 dan R5 dengan melengkapkan Jadual 2. Kandungan permulaan bagi R4 ialah, 5 dan R5 ialah 2. Gunakan Appendix 1 sebagai rujukan.)< Answer / Jawapan : x3200 0101010010100000< x3201 0001010010000100 x3202 0001101101111111< x3203 0000011111111101< x3204 1111000000100101< IIIIIIIIIIIIIIIII ܕ ܕ ܕ ܕ ܕ ܕ ܕ ܕ ܕ ܕ ܕ ܕ ܕ J PC Figure 2 / Rajah 2+ Table 2/ Jadual 24 R24 R4 ← x3200+ H 1 16 5+ R5 e 24 E 1 [11 marks]