• Delay Subroutine LPC2148 Assembly
    Hi Experts, I have just started with ARM assembly, I have written a program in assembly for toggling GPIO. The issue that I am facing is that the code works when I use several "nop" in place of "bl delay...
  • 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...
  • Spin-lock implementation for Aarch64 -- how to enforce acquire semantics?
    Here is a minimal C implementation of a spinlock "lock" operation using GCC's built-in atomics : #include <stdbool.h> void spin_lock(bool *l) {   while (__atomic_test_and_set(l, __ATOMIC_ACQUIRE))  ...
  • 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.
  • 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 ...