• Optimization of Neon Intrinsics on ARM cortexa53

    I am using ARMv8 GCC compiler and I would like to optimize Neon Intrinsics code for better execution time performance. I have already tried loop unrolling and I am using look up table for the computation of log10. Any ideas?

    Here is the code:

    static inline…

  • How to flush the pipeline of a processor using XScale-compatible Assembly?

    Hello,

    Some friends and I are playing with a Cortex-A15 core (using a Beagleboard) but, due to compatibility with some legacy code, we need to use the --cpu=xscale option when building our executable. We were able to perform a board startup by using the…

  • ARM v7 Instruction Set Architecture Opcode Code

    Hello,

    I am working with some ARM hardware and I wrote a program in ARM Assembly. The ARM hardware that I am using requires the the program to be in HEX values and I found a website online that allowed me to convert the ARM Assembly language to HEX, the…

  • Starting with Arm assembly to obtain machine code

    I am trying to take an ARM LEGv8 assembly code to input into an assembler to obtain the machine code.  I have been searching for tutorials on this for using Eclispe, but I have not. Even successful.  I have only found tutorials on starring with the C code…

  • Development in Assembly Language

    Does anyone know where I can find the toolchain for developing apps on an A57 (Raspberry Pi 3) in Assembly Language? I am looking in particular for a Windows toolchain that will allow me to cross compile, but I'll take anything at this moment since all…

  • Aarch64 Port

    Hi all - not sure if this is the right place to ask, so feel free to remove if it isnt....

    Im looking to get some 32bit arm assembler code ported to the armv8 architecture and am struggling to find anyone to do this work. Could you point me at anybody…

  • ARMv8 Assembly Language IDE

    I'm currently using Windows Notepad to program my Raspberry Pi in assembly language and I run it through 'as' and 'ld' to create the binary output. I would like to use an editor that has syntax highlighting specific to the version of ARM I'm using (in…

  • Port x86_64 Intrinsics to ARM64 equivalent

    I am new to ARM64 assembly and intrinsics. I have a small routine that uses SSE4.1 x86_64 intrinsics for a vector dot product. I am trying to (as close as possible) replace the x86_64 intrinsics with ARM64 intrinsics. I believe with the ARM64 I will be…

  • how pc is updated during execution of SWI and any simple instruction like mov R1,R15?

    when swi instruction is executed at that time it is said that pc is not updated yet so it is pointing to instruction next to swi instruction for example

    addr         code

    0x0000     swi 100
    0x0004    mov r1,r2
    0x0008    mov r2,r3


    so in this code when swi instruction…

  • ARM assembly

    I have to write an assembly code in arm (cortex A-8) ,which assigns a value passed by the user(pass by value)  to a particular general purpose register(for  example r0).

    my function looks like this

    int assign_to_reg(int x)

    {

         MOVE_TO_R0(x);

         return 0…

  • Porting code From Cortex-A9 to Cortex-R7

    Hi,

     

    I have some bare metal code written for Arm cortex A9. I would like to port this code to cortex R7. Since both of them belong to ARMv7, How much effort will this take?

    I have never worked on cortex R processors. Will i be able to use the same assembly…

  • Porting code from Cortex-A9 to Cortex-A57

    Hi,

    I have been using I.MX6Q Sabre sd board (cortex-a9 ). I build image with my own start script and ld script. The image was loaded with u-boot. Now i would like to do the Same with Renesas R-Car M3(cortex A-57). How would i go about this? Can i use the…

  • What is the equivalent instruction for QSUB in ARMv8?

    This is sort of intriguing for me. I couldn't find any saturation instructions using  general purpose register in ARMv8. However, there are saturation instructions for Neon registers I couldn't find the same involving general purpose register. Can anyone…

  • How many ways to set a register 32 bit value?

    Hi,

    I find Arm has 16 bit immediate value load to register instruction, but it has no instruction to load 32 bit value to register. I am new to asm level programming. How many ways to load a register to a desired value for an Arm CPU?

    thanks,

  • Use case of .cantunwind in ARM asm?

    Hi Experts,

    What is the actual use case of .cantunwind keyword in ARM asm?

    Is there any illustrations available on usage of same ?

    Regards,

    techguyz

  • Disabling the MMU

    Hello everybody!

    I am working on a IMX-6 and i have a little problem with the MMU.

    I want to write on some registers which are blocked by the MMU, so i want to disable it. I went on this page ARM Information Center and i saw that i have to use this command…

  • ARM/Thumb-2


    Hello everyone,

    First of all, I'm new when it comes to ARM assembly. I actually have some pieces of code written for ARM instruction set, but my target is a Cortex-M4 architecture using Thumb-2 instruction set. Do I have to re-write the whole code, change…

  • universal assembly langauge

    Hello,

    I am new to ARM,what is the best way to learn assembly?

    Any Books on the subject?

    Best Regards,Adnan Kilic.

  • ASM instruction error

    Hi all,

    Some of the arm instructions like STMIACS LDRBCS are reported as error by ARMGCC. What could be the reason ?

  • C and Assembly interworking

    Hi,

    i am working with c and assembly interworking. I am trying to pass the array from c to assembly, but i am getting the error. Please help me in finding the error. The code is as follows

    #include <stdio.h> 

    #include<lpc214x.h>             …

  • Experimentation of Dual Issue

    Hi all,

    Can somebody specify asm code to experiment the dual issue of instructions and how the processor executes parallely ?

    Also i tried like performing LDM instruction followed by LSL instruction.

  • Flash programming in ASM for Cortex M4

    Hello All,

    I am trying to write data into flash which i need to copy it to the SRAM later. I am doing this in assembly and this is part of the code i am trying to use.

    I have provided the addresses of the FMD, FMA and FMC registers needed for flash programming…