flat assembler
Message board for the users of flat assembler.

Index > Main > Timing Diagrams

Author
Thread Post new topic Reply to topic
MariaSM



Joined: 03 May 2014
Posts: 41
MariaSM 25 Aug 2014, 15:23
How exactly I can make timing diagrams (Address, Data, WE, OE, WR, RD, M/IO/BHE etc) about some code of assembler? What's the order? For example, for this code :


Code:
MOV AX,0X
MOV [0X1234],AX    


OR THIS
Code:
MOV AX, [MEMORY_ADDRESS]
MOV AX,241    
Post 25 Aug 2014, 15:23
View user's profile Send private message Reply with quote
shutdownall



Joined: 02 Apr 2010
Posts: 517
Location: Munich
shutdownall 26 Aug 2014, 22:26
For the older processors till 80386 (maybe even 80486) there is a fixed execution time per instruction. For the more modern Pentium and up the results are more or less unpredictable. This depends on the queue length, instruction units, cores, cache, the code itself and maybe a few things more.

I think the execution of instructions can be swapped internal either - but not sure if this is realized in hardware or only through software (compilers). But I assume, that this is optimized by the cpu itself as well. Wink
Post 26 Aug 2014, 22:26
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 26 Aug 2014, 22:35
In modern OoO architectures the internal instruction execution will have only a vague correlation with the external bus activity.

However for instructions like OUT and IN it may be possible to generate timing diagrams for the I/O bus that directly correlate to the internal instruction stream.
Post 26 Aug 2014, 22:35
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.