Page 1 of 1

Assembly Language Extensions

Posted: Thu Jun 29, 2017 9:09 pm
by Scorpion Illuminati
Is there a standard set of extensions for naming your assembly source code? So far i have used .asm for Motorola 68000 Assembly Source Code. Here are some excerpts with the name removed to keep that persons name anonymous:
I use .68k :P
Mostly to distinguish between both CPUs
.68k for 68000 asm files
.z80 for Z80 asm files
use .s68 and .sz8 personally
but yeah, using distinct extensions is handy when writing makefiles that need to handle assembling source for both CPUs
and SGDK uses .s and .s80 lol
Anyone have any ideas on what to use as standardized extensions when coding for the Genny's 68k and z80? Any assistance in this matter would be greatly appreciated.

Scorpion Illuminati

Re: Assembly Language Extensions

Posted: Thu Jun 29, 2017 10:10 pm
by KanedaFr
and I use .ASM or .S to go through my macro preprocessor to generate .s

From what I know, I'm not aware of a standard.
Some of them are inherited from old 68K asm editor.

The only reason I use different extension to be sure the right assembler will be called on my makefile