Path: utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!nosc!humu!uhccux!lee From: lee@uhccux.UUCP (Greg Lee) Newsgroups: comp.sys.amiga Subject: Re: frustration, frustration.. Message-ID: <1362@uhccux.UUCP> Date: 22 Dec 87 14:34:12 GMT References: <2166@crash.cts.com> <4794@well.UUCP> Reply-To: lee@uhccux.UUCP (Greg Lee) Organization: U. of Hawaii, Manoa (Honolulu) Lines: 28 Summary: assembler is not so bad In article <4794@well.UUCP> ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes: >In article <2166@crash.cts.com> steelie@pro-charlotte.cts.com (Jim Howard) writes: >>Is there anyone out there that programs in assembly on the Amiga >... I do. >... >cooked up his own version of the stdio library for assembly. The reason C >programming is so 'easy' to us is that a lot of the grunt work has been done >for us. The startup code, the library interfaces, the I/O libraries, etc. >have all been written by the compiler vendors and provided to us. Thus, >it's trivial for us to open a file, parse our arguments, call the Amiga OS, >etc. >... This exagerates the difficulties of programming in assembler. AmigaDos and the ROM routines provide high-level interfaces to the system. It's trivial to open or close a file in an assembler program. It's not trivial to parse arguments, but it's not hard. C programs go through a lot of wasted motion, mainly. For someone with just a single floppy, like me, all the overhead in using C would be difficult to put up with. Also, C-compilers cost too much. Greg Lee INTERNET: lee@uhccux.uhcc.hawaii.edu UUCP: {ihnp4,dcdwest,ucbvax}!sdcsvax!nosc!uhccux!lee BITNET: lee@uhccux