Give the machine code for the following assembly instruction
Give the machine code for the following assembly instructions (give your answer in hex format):
beq $a0, $a1, L1 (the beq instruction is at address 0x00E20710 and the target L1 is at address 0x00E20724).
Solution
op code for beq=00010
$a0=00100
$a1=00101
address=0x00E20724-0x00E20710=$14=0000000000010100
