(This patch fixes bug https://savannah.nongnu.org/bugs/?35195)
Patch applied. Thanks. http://git.savannah.gnu.org/cgit/simulavr.git/commit/?id=ae8b9a718b07514acda7fe6368b1e08302eaaf52 On 30 December 2011 10:43, Stan Behrens <lists.nongnu.org-simulavr-de...@sbeh.de> wrote: > --- > src/decoder.cpp | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/decoder.cpp b/src/decoder.cpp > index f350c26..eb12f30 100644 > --- a/src/decoder.cpp > +++ b/src/decoder.cpp > @@ -716,7 +716,7 @@ int avr_op_ICALL::operator()() { > core->DebugOnJump(); > core->PC = new_pc - 1; > > - return core->PC_size + core->flagXMega ? 0 : 1; > + return core->PC_size + (core->flagXMega ? 0 : 1); > } > > avr_op_IJMP::avr_op_IJMP(word opcode, AvrDevice *c): > -- > 1.7.5.4 > > > _______________________________________________ > Simulavr-devel mailing list > Simulavr-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/simulavr-devel -- Petr Hluzin _______________________________________________ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel