-
Data: 2014-02-25 09:36:42
Temat: Re: Mlody Technik
Od: Sylwester Łazar <i...@a...pl> szukaj wiadomości tego autora
[ pokaż wszystkie nagłówki ]> To jest prawda. Dobrze sobie zdawac sprawe co kompilator robi z
> programem... Ksiazka H&P w sporej czesci traktuje wlasnie o tym
> problemie
>
> >Był tam gdzieś fragment też o tym, że dobrym zwyczajem jest zaglądnąć do
> >kodu po kompilacji i go poprawić.
>
> Ale to akurat nie ma sensu. Mialo sens 30 lat temu, w dobie Z80. MIPS
> i wspoczesne procesory oparte sa o "pipeline architecture". Kompilator
> dokonuje znaczacej optymalizacji kodu tak aby jak najlepiej
> wykorztstac owa "pipeline". Sprowadza sie to - miedzy innymi, ale nie
> tylko - do zmiany kolejnosci wykonywanai instrukcji i przydzielania
> rejestrow co wymaga globalnej analizy programu.
Chyba nagiąłem nieco słowa autora :-)
Wklejam więc w oryginale:
--------------------------
10.2 Code Development for Embedded Processors
An embedded system usually lacks secondary storage (e.g. a hard disk).
Typically all of
the code is stored in Read Only Memory (ROM). Usually, most of the code
written for
embedded processors is first written in a high-level languages such as C.
Programmers
who can visualize how the high-level code will be translated into assembly
language code
will most likely develop the "best" code. Then programmers who have an
intimate
understanding of the assembly language for the target processor, will
analyze the code
generated by the compiler looking for ways to make further optimizations.
In other
words, they look for ways to speed up the execution, or to reduce the amount
of code that
has to be stored in ROM. Typically, for real-time applications, the code
must be finetuned,
to meet the system's performance requirements. Any programmer with the
skills to
accomplish this kind of optimization will be highly sought after.
The kernel of the
operating system deals with responding to interrupts and scheduling tasks.
This code as
well as the I/O drivers will typically be the first code to be scrutinized.
--------------------------
Dalej jest też trochę o 68000 i programowaniu w asm na inne:
The Motorola 68000 and its derivatives currently have the largest share of
the embedded
market. While the MIPS processor is classified as a RISC processor, the
Motorola 68000
is classified as a Complex Instruction Set Computer (CISC). With a solid
understanding
of the MIPS processor and experience in developing assembly language code
for the
MIPS processor, it is a relatively easy task to make the transition to
assembly language
for other processors.
S.
Następne wpisy z tego wątku
- 25.02.14 09:50 Sylwester Łazar
- 25.02.14 15:22 A.L.
- 25.02.14 15:24 A.L.
- 25.02.14 15:40 A.L.
- 25.02.14 16:05 Sylwester Łazar
- 25.02.14 16:45 J.F
- 25.02.14 17:14 Sylwester Łazar
- 25.02.14 17:15 Sebastian Biały
- 25.02.14 17:43 Sylwester Łazar
- 25.02.14 18:46 sundayman
- 25.02.14 19:48 Przemek
- 25.02.14 19:59 Przemek
- 25.02.14 21:28 Sylwester Łazar
- 25.02.14 22:01 A.L.
- 25.02.14 22:25 A.L.
Najnowsze wątki z tej grupy
- Tfu! Przeklety prostokąt (czyli UPS i "sinus modyfikowany")
- Dalekopis T100 - problem z powrotem karetki
- Diody LED - oświetlenie na choinkę
- ale wiesz, że są gotowce?
- jak wykryć zapalenie żarówki?
- Cyna dylemat
- Mierniki poziomu glukozy (CGM, FGM)
- A Szwajcarzy kombinują tak: FinalSpark grows human neurons from stem cells and connects them to electrode arrays
- Kontrola nad prądem - sprawdź jak działa [apka - przyp. JMJ] eLicznik
- NETIA i hasło logowania
- Modulacja FM
- Najgorszy język programowania
- Kol. sukces po polsku: firma Szumisie sp. z o.o.
- Chińska Telefonia 6G - Chcą Nas Sterować Elektrycznie - Jak Kukiełki w Teatrze Lalek!!!
- RS-485 ale automatycznie dwukierunkowy
Najnowsze wątki
- 2025-12-24 No i kolejny ograniczony
- 2025-12-24 Warszawa => Młodszy Specjalista ds. wsparcia sprzedaży <=
- 2025-12-24 New York Times zagrożeniem bezpieczeństwa narodowego USA - POTUS D. Trump
- 2025-12-24 Podżeganie?
- 2025-12-24 => Senior Algorithm Developer (Java/Kotlin) <=
- 2025-12-24 otwarcie drugiej obwodnicy Trójmiasta
- 2025-12-24 Tfu! Przeklety prostokąt (czyli UPS i "sinus modyfikowany")
- 2025-12-23 Prezent dla kierowców od prezydenta Nawrockiego
- 2025-12-23 Warszawa => Asystent ds. Sprzedaży i Rozwoju Klienta <=
- 2025-12-23 Warszawa => Senior IT Recruitment Consultant <=
- 2025-12-22 czy wiedziałeś że?
- 2025-12-22 Unijne KOOOORWY mówią że WYCOFUJĄ się z zakazu rejestracji elektryków
- 2025-12-22 Białystok => ERP Microsoft Dynamics 365 Commerce Consultant <=
- 2025-12-22 Lublin => Project Manager <=
- 2025-12-22 Warszawa => Project Manager (AI and innovation) <=




7 pułapek i okazji - zobacz co cię czeka podczas kupna mieszkania na wynajem