[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] Whats to do on execution of "illegal instruction"
From: |
Joerg Wunsch |
Subject: |
Re: [Simulavr-devel] Whats to do on execution of "illegal instruction" |
Date: |
Sat, 13 Feb 2016 08:55:59 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
As Petr Hluzín wrote:
> It *sometimes* works because simulavr code does not initialize the
> bytes in ALU registers (actually objects of RAM class).
Just like in the real CPU.
CPU registers and RAM contents are random, only IO registers
get well-defined state after a reset or power-on.
If someone is ambitious, every bit could be tracked whether it is
still in "X" state when being examined. ISTR VMLAB does it that
way:
http://www.amctools.com/
Also, the usual HDL simulations track "X" bits.
--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", (continued)
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Joerg Wunsch, 2016/02/05
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Thomas K, 2016/02/06
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Joerg Wunsch, 2016/02/06
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Albrecht Frenzel, 2016/02/07
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Klaus, 2016/02/07
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Petr Hluzín, 2016/02/12
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Albrecht Frenzel, 2016/02/12
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Michael Hennebry, 2016/02/13
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Albrecht Frenzel, 2016/02/13
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction", Petr Hluzín, 2016/02/12
- Re: [Simulavr-devel] Whats to do on execution of "illegal instruction",
Joerg Wunsch <=