Implemented misc instructions