• No segmentation fault when expected with aligned load and store
    Hi all, It is a well known fact that performing an aligned vector load with an unaligned memory address should lead to segmentation fault. However, when I do try to run code segment below using the...
  • Alignment in ARM?
    I could not clearly understand the alignment issues present in ARM. Sometimes I get BUS ERROR while running an assembly file but don't know how to resolve it. Some of the doubts: 1. Is it better to store...
  • Cortex A code / function alignment
    Hi ! I am writing assembly code for some ARMv7a and ARMv8a CPU. I know that code has to be 4 bytes aligned, but I saw in several places (uboot/linux) the ".align 4" GCC directive, which will align to...
  • ldm/stm with not aligned 4byte
    Hi experts! I want to use ldr/str or ldm/stm to copy memory not aligned 4bytes. I know their input address should be aligned by 4 bytes. but is there any solution to use ldr/str or ldm/stm though src...
  • How to use those crypto extension to write asm code?
    Now I use DS5 to develop an assembly crypto code, instructions like AESE are used in my code, after assign the CPU = 8-A.64.crypto, the code could be built, but when i debug the code in the FVP VE_AEMv8x1...