[an error occurred while processing this directive]
Ответ: C51 User's Guide (c51.pdf) стр. 362 (Appendix E. Byte Ordering)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено B.C. 06 сентября 2002 г. 03:27
В ответ на: union (объединения)в Keil-e чудеса или.. отправлено Boroda 06 сентября 2002 г. 01:13

The 8051 is an 8-bit machine and has no instructions for directly manipulating
data objects that are larger than 8 bits. Multi-byte data are stored according to
the following rules.
The 8051 LCALL instruction stores the address of the next instruction on the
stack. The address is pushed onto the stack low-order byte first. The address
is, therefore, stored in memory in little endian format.
All other 16-bit and 32-bit values are stored, contrary to other Intel
processors, in big endian format, with the high-order byte stored first. For
example, the LJMP and LCALL instructions expect 16-bit addresses that are
in big endian format.
Floating-point numbers are stored according to the IEEE-754 format and are
stored in big endian format with the high-order byte stored first.

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru