Yes, this is 100% useless..but I have my reasons. Anyways, I have completed the majority of the instruction set. Including basic math ops, control flow, and bit manipulation. There are no interrupts or input/output instructions as of yet. Also almost all of the instructions act on 8-bit data and there are no 16 bit registers, that is something that still needs to be worked on. There are 16 8-bit registers, R0-RF.
The reason for this project is to setup an enviroment, though its virtual, that will allow me to work on Operating System concepts on a very simple 8-bit system.. and to hold me over until my AVR that I ordered gets here.
I will probably finish the instruction set, add some 16-bit registers, and then have the emulator hook any JMPs to locations in the first sector of memory, as to simulate a BIOS call. That way I can get started working on some OS stuff.. or what will more likely happen: rewrite the emulator after I find all the nasty stuff.
Can you say useless? :)