simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] [PATCH] Add BREAK-instruction, causes simulavr to h


From: Petr Hluzín
Subject: Re: [Simulavr-devel] [PATCH] Add BREAK-instruction, causes simulavr to halt.
Date: Wed, 4 Jan 2012 22:57:36 +0100

On 4 January 2012 16:39, Stan Behrens
<address@hidden> wrote:
>
> Back to topic: I could not find any code that implements handling of
> FUSEs, so that I had to change my patch. Simulavr treats the BREAK
> instruction as NOP now when no gdb session was established.

What do you use the instruction for?
If you use it as an assertion then probably it should exit the
simulation and write diagnostics.

How does the break instruction depend on fuses?

Devices with small instruction set do not implement the BREAK
instruction, however this looks like a limitation of silicon, not a
feature. It would be useful if libraries could use this instruction in
assertions on any device (in simulator).
Is it useful to simulate the limitation? When/why?

-- 
Petr Hluzin



reply via email to

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