Xref: utzoo comp.unix.wizards:5802 comp.unix.questions:4832 Path: utzoo!mnetor!uunet!seismo!sundc!hqda-ai!yendor!fujiirm From: fujiirm@yendor.UUCP (Roger Fujii) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: SYS5 assembler problems Message-ID: <46@yendor.UUCP> Date: 17 Dec 87 18:44:14 GMT Organization: Applied Computing Technology, Reston, VA Lines: 43 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