Path: utzoo!mnetor!uunet!husc6!mit-eddie!killer!pollux!megamax!michel From: michel@megamax.UUCP (Michel Rynderman) Newsgroups: comp.sys.atari.st Subject: Re: Laser C question Message-ID: <1306@megamax.UUCP> Date: 11 Mar 88 22:10:47 GMT References: <2234@saturn.ucsc.edu> Reply-To: michel@megamax.UUCP (Michel Rynderman) Organization: Megamax, Inc; Dallas, TX Lines: 26 There are a few ways of getting the address of a label. 1. extern foo() asm { lea foo,A0 } This does work. (I just tried it out) asm { label1: nop lea label1(PC),A0 lea label1.L,A0 } This also works. asm { lea label2(PC),A0 label2: rts } Michel@megamax