cpu-dispatch week8

Re: cpu-dispatch week8

par Cédric Hölzl,
Number of replies: 0

Je suis pas certain de comprendre la question ou le problème.

La fonction cpu-dispatch execute les instructions (pas forcément directement pour autant, elle peut faire appel à d'autre fonctions) . En d'autre termes le dispatch dans cpu.c fait appel aux divers 'sous-dispatch'  tel 'cpu-dispatch-storage' ou 'cpu-dispatch-alu' en fonction de l'instruction (une instruction utilisant l'alu sera passé à 'cpu-dispatch-alu' qui executera l'instruction). Certaines instructions n'ont pas de 'sous-dispatch' et seront executé dans le 'cpu-dispatch' de 'cpu.c'.