выровнена по 512 байт? (It is important to reserve enough space for the vector table, 4 bytes for each interrupt vector.
There are also limitations on the offset address value, which must be aligned to multiples of 512 bytes.)
Почему это именно так сделано?
Это как биш в хексе? Вот поэтому
The address offset should be aligned to the vector table size, extended to the power of 2. For example, if there are 32 IRQ inputs, the total number of exceptions will be 32 + 16 (system exceptions) = 48. Extending it to the power of 2 makes it 64. (2,4,8,16,32,64) Multiplying it by 4 makes it 256 (0x100). (64 * 4 = 256) Therefore, the vector table offset can be programmed as 0x0, 0x100, 0x200, and so on.
А что за дока у вас
Обсуждают сегодня