eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.misc.elektronikaRdzenie Cortex-M i assembler › Re: Rdzenie Cortex-M i assembler
  • Data: 2011-12-29 11:34:29
    Temat: Re: Rdzenie Cortex-M i assembler
    Od: cepu69 <c...@t...pl> szukaj wiadomości tego autora
    [ pokaż wszystkie 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: