Author Topic: Support to ARM32/64 Architectures into UASM  (Read 280 times)

DebugBSD

  • Regular Member
  • *
  • Posts: 31
Support to ARM32/64 Architectures into UASM
« on: November 11, 2020, 11:16:12 PM »
Hi, good morning!

Although I think I already know the answer :P, I would like to ask if there is a thought about adding support to ARM architecture into UASM?

Have a nice day!
Guille
Happy Hacking!

TouEnMasm

  • Member
  • *****
  • Posts: 1510
    • EditMasm
Re: Support to ARM32/64 Architectures into UASM
« Reply #1 on: November 12, 2020, 12:21:58 AM »

There is ARM library given with the windows SDK.isn't enough ?
Fa is a musical note to play with CL

Vortex

  • Member
  • *****
  • Posts: 2457
Re: Support to ARM32/64 Architectures into UASM
« Reply #2 on: November 12, 2020, 02:08:44 AM »
Hi TouEnMasm,

If I remember well, the latest Windows SDKs are offering a C\C++ compiler for the ARM platform.

DebugBSD

  • Regular Member
  • *
  • Posts: 31
Re: Support to ARM32/64 Architectures into UASM
« Reply #3 on: November 12, 2020, 02:14:27 AM »

There is ARM library given with the windows SDK.isn't enough ?

Are you talking about the C/C++ library which comes with Visual Studio? If yes, I'm not sure about how to use it with MASM or UASM. Right now Visual Studio uses arm64asm.exe and I'm sure that masm doesn't support arm instruction set architecture the same way gas does it.
Happy Hacking!

TouEnMasm

  • Member
  • *****
  • Posts: 1510
    • EditMasm
Re: Support to ARM32/64 Architectures into UASM
« Reply #4 on: November 12, 2020, 04:23:46 AM »

The windows sdk give arm library and arm binaries (rc,midl...)
The c++ visual studio don't seem to get anything for arm

Fa is a musical note to play with CL

LiaoMi

  • Member
  • ****
  • Posts: 713
Re: Support to ARM32/64 Architectures into UASM
« Reply #5 on: November 12, 2020, 09:03:37 AM »
FASMARM - https://arm.flatassembler.net/

The ARM Compiler armasm User Guide provides user information for the ARM assembler, armasm. It contains information on command-line options, instruction sets, and assembler directives - https://developer.arm.com/documentation/dui0473/m/preface/about-this-book (PDF - https://documentation-service.arm.com/static/5ea074249931941038de698a?token= )

Download Arm Compiler Version 6.15 Windows 64-bit Released: October 09, 2020 - armasm, armlink - https://developer.arm.com/tools-and-software/embedded/arm-compiler/downloads/version-6

ARM Assembler Reference - https://docs.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference?view=msvc-160
Compiler intrinsics and assembly language - https://docs.microsoft.com/en-us/cpp/intrinsics/?view=msvc-160

DebugBSD

  • Regular Member
  • *
  • Posts: 31
Re: Support to ARM32/64 Architectures into UASM
« Reply #6 on: November 14, 2020, 04:28:30 AM »
FASMARM - https://arm.flatassembler.net/

The ARM Compiler armasm User Guide provides user information for the ARM assembler, armasm. It contains information on command-line options, instruction sets, and assembler directives - https://developer.arm.com/documentation/dui0473/m/preface/about-this-book (PDF - https://documentation-service.arm.com/static/5ea074249931941038de698a?token= )

Download Arm Compiler Version 6.15 Windows 64-bit Released: October 09, 2020 - armasm, armlink - https://developer.arm.com/tools-and-software/embedded/arm-compiler/downloads/version-6

ARM Assembler Reference - https://docs.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference?view=msvc-160
Compiler intrinsics and assembly language - https://docs.microsoft.com/en-us/cpp/intrinsics/?view=msvc-160

Thanks for the info!

I didn't know about fasmarm. I'll take a look on it. Do you know if it's possible to use with the Oculus Quest?
Happy Hacking!

mazegen

  • Regular Member
  • *
  • Posts: 8
Re: Support to ARM32/64 Architectures into UASM
« Reply #7 on: November 17, 2020, 09:03:52 AM »
Beware, FASMARM doesn't support relocations. You can run into problems quickly.

TouEnMasm

  • Member
  • *****
  • Posts: 1510
    • EditMasm
Re: Support to ARM32/64 Architectures into UASM
« Reply #8 on: November 23, 2020, 08:06:26 PM »

The windows sdk offer cppwinrt for arm.Seem to be a compiler (i couldn't test it).
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\arm\cppwinrt.exe

Fa is a musical note to play with CL