About 50 results
Open links in new tab
  1. assembly - LDUR and STUR in ARM v8 - Stack Overflow

    Oct 19, 2018 · I've had a couple of courses that touched on ARMv8 assembly, but both teachers described LDUR/STUR instructions a different way and now I've become pretty lost. Can ...

  2. arm64 - how can I fix this error with an STUR instruction in LEGv8 ...

    Mar 27, 2025 · Does LEGv8 support STUR at all? Also, you don't need unscaled; 8 is a multiple of the store width (8) so you can use plain str. (Even if you were using an odd number, you could let the …

  3. ARMv8: XZR use in LDUR/STUR instructions assembler error

    Nov 19, 2018 · It is supposed XZR can be used in any register field of ARMv8 ISA, but when I try use in indexed addressing for load/store intruction, I always obtain errors: ex2.s:3: Error: integer 64-bit register

  4. Is there a LOAD or STORE in Legv8 that uses another register instead of ...

    Dec 18, 2019 · Is there a load or store instruction in Legv8 that does not use a immediate offset? i do not have a value for i in the bottom question and i cant offset for data[i] when i use LDUR or STUR. I …

  5. Changing all LDUR to an ADD and a LD - Stack Overflow

    Feb 26, 2019 · Consider a change to the single-cycle non-pipelined processor that executes the following instructions: LDUR, STUR, R-type and CBZ. Consider a modification that replaces the …

  6. assembly - STUR X9, [X2,X12] - Stack Overflow

    Feb 5, 2017 · Assume a number in stored in the register X12 and X2 is the address and X9 has another number, Does this work? STUR X9,[X2,X12]

  7. arm - How to use STR and LDR in Assembly - Stack Overflow

    Aug 26, 2022 · The ARM architecture does not support direct addressing. Instead, you have to load the address into a register and then use an indexed addressing mode. For example, you could do: MOV …

  8. assembly - Understanding of LDR and STR? - Stack Overflow

    The LDR and STR instructions use post-indexed addressing to update their address registers. STR instructions store a word in memory. LDR instructions load a word from memory. Read more

  9. recursion - Recursive Fibonacci in ARM - Stack Overflow

    Apr 13, 2017 · I'm trying to convert this recursive Fibonacci code to arm assembly language. I'm new to this and not really sure how to do it. I have some code snippets of things that I've played with below. ...

  10. Why does `tcc` compile local variables onto the stack?

    Dec 18, 2025 · Yes, of course. Your hand-written example isn't immediate data either, although for some reason you put it in .text in the path of execution so you had to jump over it. (Instead of e.g. after the …