Coder's Guild Mailing List

Re: Emulation

Posted by mgb@xxx.xx-xxx.xx.xx (BRASIER Matthew G) on 1999-04-28

As a general rule I would implement it so that internal instructions take 1 clock cycle (those that act on registers only), instructions which act on 3 or more registers would probably take two cycles, and those that require access of external storage would take >=5 (depending whether a cache miss occurs) It is probably best to simulate that a cache miss occurs 5% to 2% of the time.

hope this helps a bit

dIZZY