simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Whats to do on execution of "illegal instruction"


From: Michael Hennebry
Subject: Re: [Simulavr-devel] Whats to do on execution of "illegal instruction"
Date: Sat, 13 Feb 2016 17:13:06 +0000 (UTC)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]