acmfiu@serss0.fiu.edu (ACMFIU) (03/02/91)
in merlin, you can do the following label1 lda $10 :1 lda $20 label2 lda $10 :1 lda $20 and the labels with ':' as the first character are local to the most recent global variable. is this possible in orca/m? i have seen code that does label1 loop1 label2 loop2 <etc> but that looks real ugly. maybe a macro can do what i want? albert
stephens@latcs1.oz.au (Philip J Stephens) (03/04/91)
In article <2702@kluge.fiu.edu>, acmfiu@serss0.fiu.edu (ACMFIU) writes: > > is this possible in orca/m? i have seen code that does > label1 > loop1 > label2 > loop2 > <etc> > but that looks real ugly. maybe a macro can do what i want? Orca/m does have local labels, but you must specifically use the pseudo-ops START and END to declare a segment of code whose labels are local. e.g. LABEL1 START .... LOOP .... END LABEL2 START .... LOOP .... END It's a bit of a pain, but there it is. </\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\></\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\> < Philip J. Stephens >< "Many views yield the truth." > < Hons. student, Computer Science >< "Therefore, be not alone." > < La Trobe University, Melbourne >< - Prime Song of the viggies, from > < AUSTRALIA >< THE ENGIMA SCORE by Sheri S Tepper > <\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/><\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/>