add some mipscode