data type conversion - MIPS Instruction to Machine Code -


i'm stuck @ converting mips instruction machine code below.

  sb $t3, 40($s2)   beq $s0, $s1, lab1   j lab1    jr $s0 

so far, have

101000  10010       01011       101000 000100  10000       10001       0x00400000 

how go here? since 0x00400000 address not value, don't think translate binary. andn on... can't find example go on here. please help.

immediate values in mips instructions encoded directly binary representations.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -