Am 23.07.20 um 12:53 schrieb Daniel Drotos:
> On Wed, 22 Jul 2020, Basil Hussain wrote:
> 
>> In ucSim, where or what defines how many simulated cycles each
>> instruction takes? Specifically, I am looking at the STM8 simulator.
> 
> Nowhere, and nothing defines that. Correct tick counting is not
> implemented in uCsim (except s51). It counts 1 clock (tick) for every
> instruction which will be unreal especially when lot of jumps happen.

Would it be much effort to implement a simplified version, i.e. ignoring
pipelining, just counting a fixed number of cycles per instruction?

Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to