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: Petr Hluzín
Subject: Re: [Simulavr-devel] Whats to do on execution of "illegal instruction"
Date: Sat, 13 Feb 2016 01:05:12 +0100

On 6 February 2016 at 00:12, Albrecht Frenzel <address@hidden> wrote:
>> (I don't think simulavr has a notion of a BOOTRST fuse, so it always
>> starts from $pc = 0.)
>
> Sometimes it starts on the correct bootloader start address. Since simulavr
> terminates on ffff, that means that "sometimes" the fuses are checked.

It *sometimes* works because simulavr code does not initialize the
bytes in ALU registers (actually objects of RAM class).

(If you are compiling in debug mode using Visual Studio you would see
they are filled with 0xCC.)

-- 
Petr Hluzin



reply via email to

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