eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.misc.elektronikaRdzenie Cortex-M i assembler › Re: Rdzenie Cortex-M i assembler
  • Path: news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
    From: cepu69 <c...@t...pl>
    Newsgroups: pl.misc.elektronika
    Subject: Re: Rdzenie Cortex-M i assembler
    Followup-To: pl.misc.elektronika
    Date: Thu, 29 Dec 2011 12:34:29 +0100
    Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
    Lines: 35
    Message-ID: <jdhj85$4gn$1@inews.gazeta.pl>
    References: <9...@u...googlegroups.com>
    <4efc0e84$0$1192$65785112@news.neostrada.pl>
    <9...@z...googlegroups.com>
    <4efc1726$0$1206$65785112@news.neostrada.pl>
    NNTP-Posting-Host: 217.153.153.214
    Mime-Version: 1.0
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: 8Bit
    X-Trace: inews.gazeta.pl 1325158470 4631 217.153.153.214 (29 Dec 2011 11:34:30 GMT)
    X-Complaints-To: u...@a...pl
    NNTP-Posting-Date: Thu, 29 Dec 2011 11:34:30 +0000 (UTC)
    X-User: cepu69
    User-Agent: KNode/4.4.10
    Xref: news-archive.icm.edu.pl pl.misc.elektronika:622608
    [ ukryj nagłówki ]

    Zbych wrote:

    > W dniu 2011-12-29 08:27, slawek7 pisze:
    >> Ale jak czytam Datasheet uC czy to STM32 czy LPC11xx to tam nie jest
    >> to napisane.
    >>
    >> W STM32 pisze ze obsługują instrukcje Thumb. Ale nie ma wzmianki czy
    >> jest to Thumb-2.
    >>
    >> I jak to rozróżnić, która instrukcja jest zwykla Thumb a która Thumb-2?
    >
    > A jaka to różnica jak to nazwiesz?
    I dlatego dla EU marchewka tez owoc :)

    http://en.wikipedia.org/wiki/ARM_architecture#Thumb
    "To improve compiled code-density, processors since the ARM7TDMI have
    featured Thumb instruction set, which have their own state. the processor
    executes the Thumb instruction set, a compact 16-bit encoding for a subset
    of the ARM instruction set.[22] Most of the Thumb instructions are directly
    mapped to normal ARM instructions. The space-saving comes from making some
    of the instruction operands implicit and limiting the number of
    possibilities compared to the ARM instructions executed in the ARM
    instruction set state."

    http://en.wikipedia.org/wiki/ARM_architecture#Thumb-
    2
    "Thumb-2 technology made its debut in the ARM1156 core, announced in 2003.
    Thumb-2 extends the limited 16-bit instruction set of Thumb with additional
    32-bit instructions to give the instruction set more breadth, thus producing
    a variable-length instruction set."

    W przyblizeniu tryb Thumb mozna traktowac jako dodatek do podstawowego trybu
    ARM, zapewniajacy wysoka "gestosc kodu". Natomiast tryb Thumb-2 dostarcza
    pelen zestaw instrukcji i tryb ARM nie jest juz konieczny, np. aby "dostac"
    sie do rejestru CPSR.

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: