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?
discuss emulators of 26-bit acorn systems e.g. arculator and rpcemu
1 post • Page 1 of 1