lex Problem #4 X5 = 12H (a) Assume that the initial contents of register x5-0x0000000000000012 and x6=0x0000000000000034. Show the contents of destination register (in hexadecimal) after executing each instruction of the following program. (6) xor x5, x5, x6 xor x6, x5, x6 xor x5, X5, X6 ; Contents of register x5= OX 26 32 X 0X14X : Contents of register x6= 0X32 ; Contents of register x5= OX X6 = 34 H all registers are 64 bits so the rest are Zeros 0-010010 0-110100 0-100110 •-100 110 -110100 0-110010. • -100110 110010 010100
lex Problem #4 X5 = 12H (a) Assume that the initial contents of register x5-0x0000000000000012 and x6=0x0000000000000034
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
lex Problem #4 X5 = 12H (a) Assume that the initial contents of register x5-0x0000000000000012 and x6=0x0000000000000034
lex Problem #4 X5 = 12H (a) Assume that the initial contents of register x5-0x0000000000000012 and x6=0x0000000000000034. Show the contents of destination register (in hexadecimal) after executing each instruction of the following program. (6) xor x5, x5, x6 xor x6, x5, x6 xor x5, X5, X6 ; Contents of register x5= OX 26 32 X 0X14X : Contents of register x6= 0X32 ; Contents of register x5= OX X6 = 34 H all registers are 64 bits so the rest are Zeros 0-010010 0-110100 0-100110 •-100 110 -110100 0-110010. • -100110 110010 010100