I've been toying around with GCC but before I do that I just need a really simple assmebler. A68k seems to work well but spits out object files and I can't seem to find the linker, which kinda sucks.
Anyone know where I can find a straight-forward assembler, preferably public domain that just lets me do stuff like this:
I've been toying around with GCC but before I do that I just need a really simple assmebler.
Anyone here point me in the right direction?
Mux
On Monday, 26 October 2015 05:47:01 UTC, Mux wrote:using). (I built a 68010 version by uncommenting some of the source but the simulator doesn't support the differences).
I've been toying around with GCC but before I do that I just need a really simple assmebler.
Hi, Mux.
I've been using Easy68k (http://www.easy68k.com/). As distributed it only does plain 68000 but it also has a simulator (which keeps track of clock cycles) and a few other bits (e.g. convert S-records (which are pretty simple) to raw binary, which I'm
I'll probably be using it tomorrow to try your ideas for testing for odd address registers :-)
I'll add that to the list :-)
For GCC, I found a link to a 5.x.x version that runs standalone using MinGW. Does anyone know where I can describe the memory map for the linker as well as the vector table? Other than that it seems to work sorta alright...
If anyone's interested I'll see if I can find the link and post it here..
-Mux
If you are going to use gcc as C compiler, why don't you use binutils
as well? That has an assembler and a linker and a librarian and
everything that you might need. Plus the GNU assembler has a fairly
decent macro facility, plus you can run your assembly source through
the C preprocessor as well, which makes it very easy to share
definitions between ASM and C.
Does the GNU assembler accept Motorola like syntax? It used to be
pretty wretched, but it has been years since I looked at it.
On Thu, 17 Dec 2015 17:01:40 -0700
BobH <wanderingmetalhead.nospam.please@yahoo.com> wrote:
Does the GNU assembler accept Motorola like syntax? It used to be
pretty wretched, but it has been years since I looked at it.
Yes, gas supports both the Motorola and the MIT syntax.
IIRC I've never been able to find documentation on the syntax 68000
GNU as accepts :-(
IIRC I've never been able to find documentation on the syntax 68000
GNU as accepts :-(
info gas might help?
It has a section titled "9.21.3 Motorola Syntax"
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 68:08:24 |
Calls: | 8,084 |
Calls today: | 2 |
Files: | 13,068 |
Messages: | 5,849,529 |