??? 04/20/07 21:59 Read: times |
#137676 - Simulator... A truly educational task! |
I decided to write an 8052 simulator in Visual Basic for kicks. Yes it's going to be kinda slow, but that's ok for me. It's been pretty educational as far as getting to know all the little side effects of each instruction. It's also made me notice a few instructions I've never seemed to have used before. The challenging part was figuring out how to do the bit stuff and keeping the flags in the right state. I'm still working on some of the instructions. Another educational task is writing test assembly code to verify that the instructions simulate correctly at upper and lower limits, etc.
Anyway... If you have any suggestions on features you thought would be useful, let em rip. After I get it completely functional I think my first feature will be a logic/timing analyzer. If it's good enough I'll post a link to it, but completion will be awhile yet. Jon By the way... It's a good way to really get familiar with the "bible". |