flat assembler
Message board for the users of flat assembler.

Index > Non-x86 architectures > fasmarm examples builds but the executable doesnt run

Author
Thread Post new topic Reply to topic
gnomicbits



Joined: 03 Feb 2017
Posts: 2
gnomicbits 17 Apr 2026, 08:39
Hello community,
I am using fasmarm in my snapdragon x plus. The program builds alright (the 32-bit assembler is running in prism) but the built executable isn't working. The arm64.exe sample errors out saying this app cant run in your pc... Attaching the result from die.. the format seems alright..


Description:
Filesize: 37.77 KB
Viewed: 153 Time(s)

arm64-die.png


Post 17 Apr 2026, 08:39
View user's profile Send private message Send e-mail Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20951
Location: In your JS exploiting you and your system
revolution 17 Apr 2026, 08:43
There is a bug in the .asm file. There is a post describing how to fix it.
The armpe64.exe from the package did not work for me on Windows 11 on ARM. I got it working by adding fixups:
Code:
section '.reloc' fixups data readable discardable

  if $=$$
    dw 0,8              ; if there are no fixups, generate dummy entry
  end if    
Now, with this addition, it even works with F9 from FASMWARM.
Post 17 Apr 2026, 08:43
View user's profile Send private message Visit poster's website Reply with quote
gnomicbits



Joined: 03 Feb 2017
Posts: 2
gnomicbits 17 Apr 2026, 19:49
Thank you that worked Smile and will read the post too...
Post 17 Apr 2026, 19:49
View user's profile Send private message Send e-mail Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.