-
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
- Router LTE z możliwością zmian MTU
- Fajny film widziałem...
- Jaka ładowarka sieciowa do Iphona?
- Taśma izolacyjna do prac elektrycznych
- Recenzja 3.1A ;) w 6 gniazdach...
- Re: Recenzja 3.1A ;) w 6 gniazdach...
- Re: Recenzja 3.1A ;) w 6 gniazdach...
- Re: Recenzja 3.1A ;) w 6 gniazdach...
- Wkrętarki, wiertarki...
- Zasilacz impulsowy 12V 10A, coś godnego uwagi jako zamiennik akumulatora wkrętarki
- Mouser - koszt wysyłki
- [OT] Jak wycinac ksztalt w piance lub styropianie?
- FV--> ciepła woda w kranie
- Szok
- Dziwny schemat wzmacniacza m.cz.
Najnowsze wątki
- 2025-07-08 Router LTE z możliwością zmian MTU
- 2025-07-08 Re: Pożar w Ząbkach a polscy dyletanci
- 2025-07-08 Trójmiasto => Head of Social Media <=
- 2025-07-08 Warszawa => MENA New Business Manager <=
- 2025-07-08 Środa Wielkopolska => SAP FI/CO Internal Consultant <=
- 2025-07-08 Warszawa => Customer Service with Spanish + translation <=
- 2025-07-08 Warszawa => Senior Account Manager <=
- 2025-07-08 Parkometry bez podstawy prawnej
- 2025-07-07 Re: Ząbki się spaliły jak wiejskie, drewniane stodoły sprzed 50 lat
- 2025-07-06 Kup szybko nową ładowarkę do smartfona
- 2025-07-07 TV z Play (dawniej UPC) -- potrzebny dekoder?
- 2025-07-06 Kup szybko nową ładowarkę do smartfona
- 2025-07-07 mija rok jeżdzenia po lewej
- 2025-07-06 Elektryki jednak są NIEBEZPIECZNE
- 2025-07-08 Fajny film widziałem...