Path: utzoo!attcan!uunet!garfield!john13 From: john13@garfield.MUN.EDU (John Russell) Newsgroups: comp.sys.amiga.tech Subject: Adjusting the stack pointer Keywords: assembler A7 SP Message-ID: <5047@garfield.MUN.EDU> Date: 22 Dec 88 05:21:41 GMT Distribution: na Organization: CS Dept., Memorial U. of Newfoundland, St. John's Lines: 18 Manx-generated code uses the form addq.w #(4*N),sp ^ to reset the stack pointer after calling a function with N (long) args on the stack. Examples which adhere to the syntax of other Amiga assemblers use addq.l #(4*N),sp ^ Is the Manx format dangerous if the stack is being incremented past a 64k boundary? Is there a reason to use one and not the other? John -- "Version 2.0 is advertised as supporting cursor keys." -- somewhat left-handed endorsement of a Mac word-processor :-)