flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
fasmnewbie
I mean we are programming the machines, but we don't have a specific dedicated section on the very machines we are programming? That's weird.
|
|||
![]() |
|
fasmnewbie
You know people / newbies like myself can gain a technical insights on things like DMA, serial / parallel port, fetch-execute, FPU, FSB ... things like that,, and how they are related to assembly programming, codes and practice. Maybe under Hardware, Microprocessor, Architecture etc... I don't know. But I think we should have one that offers different discussions than OS Construction.
|
|||
![]() |
|
fasmnewbie
Branch Prediction
Code: In computer architecture, a branch predictor is a digital circuit that tries to guess which way a branch (e.g. an if-then-else structure) will go before this is known for sure. The purpose of the branch predictor is to improve the flow in the instruction pipeline. Branch predictors play a critical role in achieving high effective performance in many modern pipelined microprocessor architectures such as x86. Two-way branching is usually implemented with a conditional jump instruction. A conditional jump can either be "not taken" and continue execution with the first branch of code which follows immediately after the conditional jump - or it can be "taken" and jump to a different place in program memory where the second branch of code is stored. Now this is the kind of thing I am talking about. I believe many entry-level programmers may not be aware how bad our loop is in terms of performance and clock cycles. And experts on this board can offer invaluable advises on branch prediction to newbies on how to improve our code's performance. |
|||
![]() |
|
fasmnewbie
Another thing is like Context Switching. I know people can read it from the internet. But how it is related to my code? Is it a bad thing or a good thing? Which part of my code is related to this green monster called Context Switching? If it is bad, how can I spot it and reduce it? If it is good, how can I jump to it right after "format PE"?
|
|||
![]() |
|
zhak
Good suggestion IMO
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2019, Tomasz Grysztar.
Powered by rwasa.