instruction table creation and fix for data access function

The repeat functionality for the saving of the instructions is now
working.