title: translate mips pseudo instruction into machine code
body: <p>I know how to translate regular MIPS code into machine language, but how to transfer pseudo instructions into machine code? For example pseudo branch instruction ble(branch on less equal). I can not find the opcode for ble on the mips reference sheet. How can I translate it?
  I tried to resolve ble into two regular instructions,
  ble $t0, $t1, L >> sub $t0, $t0, $t1
                     blez $t0, L
  And then translate the two instructions into machine code. Is it seems to be right? Please help...</p>