Abhay,

Thanks for the patch. We are almost done for 1.3.7 version. I hope to
release it next weekend. After that I will take a look at patch.

-- 
GNUSim8085 as a regression testing framework?
https://bugs.launchpad.net/bugs/579362
You received this bug notification because you are a member of
GNUSim8085 developers, which is subscribed to gnusim8085.

Status in gnusim8085: New

Bug description:
There was some discussion over at the sdcc forums about the lack of a 
simulator/emulator that could be used for regression testing purposes. Having a 
simulator/emulator that could be used to do regression tests would be very 
useful. 
So the question is how complicated it would be to make use of the simulator in 
GNUSim8085 without necessarily relying on the GUI.
I am envisioning a different startup mode, where the GUI is replaced with a 
command line/console interface, so that we could run a given source file in a 
console environment, where the simulator would optionally respond with a dump 
of the internal state at an arbitrary point, possibly using a markup format 
such as XML or RDF.

Implementing this would probably be pretty straightforward if the simulator 
functionality can be easily decoupled from the GUI, i.e. if the simulator is 
following the MVC pattern.

In addition, this would really not be very complex at all - we would only need 
to accept a filename and one switch for a mode, i.e. step by step vs. complete 
runs.

And then, we'd only need to output all internal simulator state (mostly 
registers, flags, stack) to the console, so that it can be examined by 
utilities such as "expect".

So, how complicated would it be to have the simulator run in a very limited 
mode, WITHOUT the GUI?

I envision something along the lines of

./gnusim8085  test.asm

where test.asm would contain:
;---------
mvi a,05h
mvi b,03h
add b
;---------

and running the simulator would simply dump all relevant internal state to the 
console, preferably in some standardized markup/format.

http://sourceforge.net/forum/forum.php?thread_id=2030455&forum_id=1864



_______________________________________________
Mailing list: https://launchpad.net/~gnusim8085-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gnusim8085-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to