This patch implements ei and di instructions for mips. Test cases are added.