Most invalid instructions should default to break Some invalid instructions, e.g. 0xFFFF, should have an instruction-specific default, e.g. NOP.
A config file or command line option should allow a user to change the global default to a compiled-in option, e.g. NOP or abort. A config file or command line option should allow the user to change instruction-specific behavior to a compiled-in option, e.g. change LPM R30, Z+ to NOP or to R30 = *(Z++) . Use the GNU guys' @FILE mechanism to deal with a multitude of command-line options. For the brave and industrious, a mechanism for run-time loading from a dynamic library might be useful. What does simulavr currently do with LPM R30, Z+? Michael Hennebry _______________________________________________ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel