[comp.unix.questions] SYS5 assembler problems

fujiirm@yendor.UUCP (Roger Fujii) (12/18/87)

To begin with, I am trying to port GNUcc (1.15) to work with our arete 1100
(68020 - SYSV2.2).  No problem, I said to my self as I downloaded > 1.5Mb
of compressed source.

HA!.  Well, apparently SYSV (well, at least this one) uses assembler syntax
that isn't MIT's (to be expected), but also wasn't QUITE in motorola syntax 
syntax either (ANNOYING differences like mov.l = move.l, some parameters
are backwards....), but I *seem* to have gotten that straightened away (
I wish I knew what they used).

Now the problem:  This assembler seems to accept a paramter on some of its
directives.

For example, a:

		char *p = "2134"

	would produce

		data	2
		align	2
	L%1:
		byte	'2,'1,'3,'4,0x00


	but a

		int a;	/* Global */

	produced
	
		data	1
		align	4
		.
		.

Now, just WHAT are these parameters for the data/align statement?
I can't figure out why align has a size equal to a word.   Thanks in
advance.
-- 
Roger Fujii - ACT, Reston, VA			Phone:		(703)471-9433
Internet: fujiirm@cml.rpi.edu
UUCP: ..!mimsy!{prometheus,hqda-ai}!yendor!fujiirm