Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!cogsci.berkeley.edu!muir From: muir@cogsci.berkeley.edu.UUCP Newsgroups: comp.sys.amiga Subject: Re: Assembly question Message-ID: <18274@ucbvax.BERKELEY.EDU> Date: Sat, 11-Apr-87 01:01:54 EST Article-I.D.: ucbvax.18274 Posted: Sat Apr 11 01:01:54 1987 Date-Received: Sun, 12-Apr-87 00:57:30 EST References: <10726@topaz.RUTGERS.EDU> <1582@husc6.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: bryce@cogsci.berkeley.edu.UUCP (Bryce Nesbitt) Distribution: world Organization: University of California, Berkeley Lines: 20 Keywords: Answer 68000 assembly question Summary: Answer and sample script 68000 question In article <1970@hoptoad.uucp> slc@hoptoad.UUCP (Steve Costa) writes: >I know zip about writing assembly routines, but I'm trying to assemble >an existing routine "wait.asm". I get a message that the workspace >is exhausted and to increase it. What does this mean, and how do I >fix it? My assembler came with my developer's package when I got my Assuming the Metacomco assembler, to increase the workspace add something like "-c w75000" to the args. you call assem with. Here is a complete script file to assemble with: -----------------cut here .bra { ;Assemble then link with amiga.lib .key file .key } assem-devel:c/assem {file}.asm -c w95000 -i assem-devel:include -o {file}.o assem-devel:c/alink {file}.o lib assem-devel:lib/amiga.lib to {file} -----------------cut here If you are using BLINK, change the last line and add "NODEBUG" to get rid of those pesky extra hunks. Also rename "execute" to x and make it RESIDENT. Place this file in the "S" directory of your workbench and maybe even copy it into RAM: or VD0: with all your working files (wait.asm).