sim: Clean up InstRecord

Track memory size and flags as well as add some comments and consts.
7 files changed