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…
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…
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:
…
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…
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…
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 &&…
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 =…