Fully working TRMI and TRMO instructions