-
Path: news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.
atman.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail
From: Sylwester Łazar <i...@a...pl>
Newsgroups: pl.misc.elektronika
Subject: Re: Mlody Technik
Date: Tue, 25 Feb 2014 09:36:42 +0100
Organization: Netia S.A.
Lines: 59
Message-ID: <lehlhv$5r5$1@mx1.internetia.pl>
References: <leajvp$in3$1@mx1.internetia.pl> <leajjn$qd4$1@node1.news.atman.pl>
<leakpn$li5$1@mx1.internetia.pl> <leal62$s68$1@node1.news.atman.pl>
<leb1dj$ab0$1@node1.news.atman.pl> <led27j$pkn$1@news.task.gda.pl>
<530a41c5$0$2205$65785112@news.neostrada.pl>
<vcxhtidnjo1s$.10v9vamnvb30q$.dlg@40tude.net>
<0...@4...com>
<a...@n...neostrada.pl>
<p...@4...com>
<legogu$6ol$1@mx1.internetia.pl>
<f...@4...com>
NNTP-Posting-Host: 87-205-63-255.adsl.inetia.pl
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 8bit
X-Trace: mx1.internetia.pl 1393318271 5989 87.205.63.255 (25 Feb 2014 08:51:11 GMT)
X-Complaints-To: a...@i...pl
NNTP-Posting-Date: Tue, 25 Feb 2014 08:51:11 +0000 (UTC)
X-Notice1: This post has been postprocessed on the news.internetia.pl server.
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Tech-Contact: u...@i...pl
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-Priority: 3
X-Server-Info: http://www.internetia.pl/
X-MSMail-Priority: Normal
X-Notice2: Subject line has been filtered and any Odp: strings removed.
Xref: news-archive.icm.edu.pl pl.misc.elektronika:660263
[ ukryj 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
- Akumulatory VRLA
- ładowarka zmarła
- Podstawa bezpiecznikowa jako rozłącznik DC
- Napięcie akumulatora wyłączające UPS / jakie nowe akumulatory do UPS?
- nawigacja satelitarna
- SmartLife/Tuya i osuszanie -- mordowanie z zimną krwią...
- Głośnik piezoelektryczny
- Mala autonomiczna kamera monitoringu
- czas na emeryturę i EB
- Generowanie sumy kontrolnej z fragmentu pliku bin
- Re: Mala autonomiczna kamera monitoringu
- HDMI
- Re: Mala autonomiczna kamera monitoringu
- Kamera monitoringu z kartą SIM
- Re: Kamera monitoringu z kartą SIM
Najnowsze wątki
- 2024-07-02 Realme 7 Na co zmienić?
- 2024-06-27 Prywatny parking? Pierwsze 10 minut bezplatnie
- 2024-07-02 znalazłem samochód ;)
- 2024-07-02 Pierwszeństwo łamane
- 2024-07-02 zamek
- 2024-07-02 Akumulatory VRLA
- 2024-07-03 Białystok => Inżynier DevOps Conexa First (Kontraktor) <=
- 2024-07-03 MĂźnchen => Test Development Engineer (m/w/d) <=
- 2024-07-03 Warszawa => Full Stack web developer (obszar .Net Core, Angular6+) <=
- 2024-07-03 Warszawa => Programista Full Stack (.Net Core) <=
- 2024-07-02 Kraków => Spedytor międzynarodowy <=
- 2024-07-02 Poznań => Senior React Native Developer <=
- 2024-07-02 Rzeszów => Frontend Developer (React) <=
- 2024-07-02 Warszawa => Fullastack (Java) Developer <=
- 2024-07-02 reparacje