Телесистемы
 Разработка, производство и продажа радиоэлектронной аппаратуры
На главную   | Карта сайта | Пишите нам | В избранное
Требуется программист в Зеленограде
- обработка данных с датчиков; ColdFire; 40 тыс.
e-mail:jobsmp@pochta.ru

Телесистемы | Электроника | Конференция «Микроконтроллеры и их применение»

первоисточник (+):

Отправлено argus98 (81.22.205.230) 09 февраля 2011, г. 15:09
В ответ на: То ли я дурак... Короче закипел++ отправлено dshabrov 09 февраля 2011, г. 14:28

"4.5.1 MUL, MLA, and MLS
Multiply, Multiply-Accumulate, and Multiply-Subtract, with signed or unsigned 32-bit
operands, giving the least significant 32 bits of the result.
Syntax
MUL{S}{cond} {Rd}, Rn, Rm
MLA{S}{cond} Rd, Rn, Rm, Ra
MLS{cond} Rd, Rn, Rm, Ra
where:
cond is an optional condition code (see Conditional execution on page 2-17).
S is an optional suffix. If S is specified, the condition code flags are updated
on the result of the operation (see Conditional execution on page 2-17).
Rd is the destination register.
Rn, Rm are registers holding the values to be multiplied.
Ra is a register holding the value to be added or subtracted from.

Usage
The MUL instruction multiplies the values from Rn and Rm, and places the least significant
32 bits of the result in Rd.
The MLA instruction multiplies the values from Rn and Rm, adds the value from Ra, and
places the least significant 32 bits of the result in Rd.
The MLS instruction multiplies the values from Rn and Rm, subtracts the result from the
value from Ra, and places the least significant 32 bits of the final result in Rd.
Do not use r15 for Rd, Rn, Rm, or Ra."

Copyright © 2007 ARM Limited. ARM DUI 0379A


Составить ответ | Вернуться на конференцию

Ответы


Отправка ответа
Имя*: 
Пароль: 
E-mail: 
Тема*:

Сообщение:

Ссылка на URL: 
URL изображения: 

если вы незарегистрированный на форуме пользователь, то
для успешного добавления сообщения заполните поле, как указано ниже:
поделите 6 на два:

Перейти к списку ответов | Конференция | Раздел "Электроника" | Главная страница | Карта сайта

Rambler's Top100 Рейтинг@Mail.ru
 
Web telesys.ru