Page 1 of 1

If the bit pattern 0x0C000000 is placed into the Instruction Register, what LEGv8 instruction will be executed? I am awa

Posted: Tue Apr 12, 2022 10:24 am
by answerhappygod
If the bit pattern 0x0C000000 is placed into the
Instruction Register, what LEGv8 instruction will be
executed?
I am aware that it's 0000 1100 0000 0000 0000 0000 0000
in binary, but I do not know what instruction it is in LEGv8, or
how to figure it out with the table provided in my textbook. Please
don't copy paste the other answers on answers, they are not the
answer I am looking for, thank you in advance.
Table from the book:
If The Bit Pattern 0x0c000000 Is Placed Into The Instruction Register What Legv8 Instruction Will Be Executed I Am Awa 1
If The Bit Pattern 0x0c000000 Is Placed Into The Instruction Register What Legv8 Instruction Will Be Executed I Am Awa 1 (109.87 KiB) Viewed 48 times
Instruction Opcode Opcode Size B STURB LDURB B.cond ORRI EORI STURH LDURH AND ADD ADDI ANDI BL ORR ADDS ADDIS CBZ CBNZ STURW LDURSW STXR LDXR EOR SUB SUBI MOVZ LSR LSL BR ANDS SUBS SUBIS ANDIS MOVK STUR LDUR 000101 00111000000 00111000010 01010100 1011001000 1101001000 01111000000 01111000010 10001010000 10001011000 1001000100 1001001000 100101 10101010000 10101011000 1011000100 10110100 10110101 10111000000 10111000100 11001000000 11001000010 11001010000 11001011000 1101000100 110100101 11010011010 11010011011 11010110000 11101010000 11101011000 1111000100 1111001000 111100101 11111000000 11111000010 6 11 11 8 10 10 11 11 11 11 10 10 6 11 11 10 8 8 11 11 11 11 11 11 10 9 11 11 11 11 11 10 10 9 11 11-bit Opcode range Start End 160 191 448 450 672 679 712 713 840 841 960 962 1104 1112 1160 1161 1168 1169 1184 1215 1360 1368 1416 1417 1440 1447 1448 1455 1472 1476 1600 1602 1616 1624 1672 1673 1684 1687 1690 1691 1712 1872 1880 1928 1929 1936 1937 1940 1943 1984 1986 Instruction Format B-format D-format D-format CB - format 1 - format 1 - format D-format D-format R-format R-format - format |- format B - format R-format R-format 1 - format CB - format CB-format D - format D-format D-format D-format R-format R-format - format IM - format R-format R-format R-format R-format R-format 1 - format 1 - format IM - format D-format D - format 11