Posted by frankhale@xxxxxxxx.xxx.xxx on 1999-04-27
Jes Rahbek Klinke wrote: > The cycle counts of individual instructions depend entirely on the processor architecture. On older processors one instruction were executed at a time, and instructions could take variable time. On newer pipelined processors several instructions are being executed simultaneously, and almost all instruction take one cycle. If you really want realistic timing you must know something about processor architecture and make an outline of your processors inner workings. > > Yours > Jes Thanx, what I am doing is really designing my own small emulated processor. Meaning the processor doesn't exist. Its really a small emulator which has about 10 - 15 instructions and a few registers. I have set all the instructions to 1 CPU cycle because I don't know how to determine proper cycles. The thing functions fine I was just wondering how you determine this. It probably doesn't matter on such a small project like this. I have a source code for a 6502 emulator. I've been researching 6502's for sometime now and I have many books which describe the architechure of it. Thank you. -- From: Frank Hale Email: frankhale@xxxxxxxx.xxx.xxx ICQ: 7205161
Previous post | Next post | Timeline | Home