64-bit ARM assembler

discuss emulators of 26-bit acorn systems e.g. arculator and rpcemu
Post Reply
User avatar
Richard Russell
Posts: 1668
Joined: Sun Feb 27, 2011 10:35 am
Location: Downham Market, Norfolk

64-bit ARM assembler

Post by Richard Russell » Wed Sep 16, 2020 11:56 am

I think I may have asked this before, but would anybody be able to write (or at least help me write) a 64-bit ARM assembler suitable for use with BBC BASIC? Currently the only 64-bit ARM version of BBC BASIC is the iOS edition of BBCSDL, and since Apple forbids 'arbitrary code execution' an assembler for that would be pointless. But before too long there will be a need for 64-bit Android and 64-bit Raspberry Pi editions, and they really ought to incorporate an assembler.

The C source code for the current 32-bit ARM and 64-bit x86 assemblers can be found at GitHub. They represent extremes of complexity, with the ARM assembler being fairly straightforward (especially since it doesn't currently include any FP or SIMD instructions) and the x86 assembler being quite complex. I would expect a 64-bit ARM assembler to come somewhere in between.

A 'feel' for the 64-bit ARM instruction set is necessary in order to design and write an assembler, and I don't have that! Any takers?

Post Reply

Return to “32-bit acorn emulators”