??? 09/01/07 23:04 Read: times |
#143867 - Step 2: The ticks counter (and the promised bonus) Responding to: ???'s previous message |
Ticks counter up and working (it counts the ticks of an instruction, this is needed for those instructions which have more ticks to execute than they have bytes).
The two counters, byte and ticks counter, when the first runs out and the second not, produce a signal "_fetch_stall", i.e. ticks where the program counter is not incremented. Even if it does not seem so, this was a big leap and required me to rethink a few things once again. --- And the promised bonus is there, too; I added all three forms of jumps! So, it can now jump around (and the NOP works, too :-) ), so some program can already be executed, although not a very useful one... :-( --- More infrastructure. To test the jumps, a new test binary is added (well... just jumps...). All files can be found on the usual place (and this time all the binaries including the exe are really there, I double checked...). Press the refresh button in case the old version of the webpage is still in browser's cache. --- Russ, I intentionally did not look at those diagrams of existing processors and microcontrollers, and trying to work things out myself (OK I have seen them already and had some of that in the school, so I am not completely untouched...). I added a rough block schematics of what has been done so far, enjoy and comment. --- Richard and everybody, thanks for the hints and messages and support, I really cannot reply to all of those but they give me really some brain food to think about. Pity we cannot discuss it in a more immediate way... JW |