Questions tagged [armasm]

armasm is the assembler for ARM processors

Details: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473m/dom1361289850039.html

23 questions
0
votes
1 answer

Errors in compiling FFmpeg for windows10/aarch64 using Microsoft Visual Studio 2017 Preview edition

I am trying to compile FFmpeg (the Chromium version) for Windows10/Aarch64 configuration using Microsoft Visual Studio 2017 Preview community edition. I am running into errors in the assembly files as copied below (highlighted few errors). I believe…
Narsinga
  • 1
  • 3
0
votes
0 answers

Arm Asm Double Register Immediates

I have an assignment requiring an Ln-algorithm written in armasm. I decided to use the BKM algorithm. The algorithm uses a lookUp table. The assignment requires to implement lookup tables in asm as well. The problem is that I'm getting an…
0
votes
1 answer

SEGFAULT on writing to stack variable

I have a very strange crash on ARM linux platform caused by simple code. The problem is that it reproduces rarely (once a day) and another problem is that it crashes where it actually cannot. Let's start from C++ code. Thread function does this: …
incognito
  • 457
  • 5
  • 19
0
votes
1 answer

"Access to unaligned memory location, bad address=ffffff"

I'm trying to read integers from an input.txt file, below is my read loop where I'm attempting to read and store the integers into an array. I keep getting "Access to unaligned memory location, bad address=ffffff" on any line after the line with…
0
votes
0 answers

Armv8 Assembler optimization

Hello I did my first assembler implementation on an Raspberry Pi 3. I would like to ask you how I can improve the algorithm. What it basically should do is: in an 320x240 uint8_t array it analyses every point and create two bit masks out of it. The…
-1
votes
1 answer

arm32 cross compiling giving compiling error in right assembly code

So, I need to run a certain arm32 code that I've done. The code is alright and running on my Windows machine using Keil, however when I try to run on the Ubuntu cross compiler (using arm-linux-gnueabihf-as prgm1.s -o asm32.o &&…
sasinhe
  • 29
  • 5
-1
votes
1 answer

how can i use store registers in memory in CODE section that is ReadOnly (ARM Assembly)?

here's my code : AREA Swap, CODE ENTRY EXPORT __main __main ADR R0, VAR_1 ADR R1, VAR_2 LDR R2, [R0] LDR R3, [R1] STR R2, [R1] STR R3, [R0] stop B stop AREA Swap, DATA, READWRITE VAR_1 DCD 8 VAR_2 DCD 7 END i can load values from…
Ahmadreza_HK
  • 364
  • 1
  • 5
  • 10
-3
votes
2 answers

Is there a way to convert this C code to ARM Inline Assembly?

This is a C code of Caesar Cipher which takes a given text and an encryption key as its parameters. I have to convert this into ARM Inline Assembler. void rotN(char *str, int n) { char *p; for (p = str; *p != 0; p++) { int currChar =…
George
  • 1
1
2