In the arm system, words, half words, and bytes are aligned with half words.

Source: Internet
Author: User

Original article Portal

Word: In the ARM architecture, the word length is 32 characters, while in the 8-bit/16-bit processor architecture, the word length is generally 16 characters.

Half-word: In the ARM architecture, the length of the half-word is 16 bits, which is consistent with the length of the word in the 8-bit/16-bit processor architecture. Byte: In the ARM architecture and 8-bit/16-bit processor architecture, the length of the byte is 8 bits.
Arm command line alignment: The address space corresponding to the 32-bit address is 2

32

8-bit bytes. If the initial address is 0x00000000, the next address should be 0x00000004. 0x00000000 ~ The four eight-byte corresponding to 0x00000003 is a word, 0x00000004 ~ 0x00000007 corresponds to the next word. Therefore, the bits of the address [1:0] = 0b00. That is, the address must be divisible by 4.
Semi-Word Alignment: The address bits [0] = 0b0.

In the arm system, words, half words, and bytes are aligned with half words.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.