Simplify the write_inst() as the indirect cases are not needed any more.
Only LOAD and STORE do indirect.