Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ucf1vm.BITNET!news From: news@ucf1vm.BITNET Newsgroups: comp.lang.asm370 Subject: Re: memo on my structure assembler macros Message-ID: <9104151705.AA18189@ucbvax.Berkeley.EDU> Date: 15 Apr 91 07:36:55 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 31 phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) writes: [...] > STRUCTURED ASSEMBLER PROGRAMMING MACROS > > $IF condition-1 > . \ [...] Using a good Assembler (like ASM-H with SLAC extensions) there is no need to code such programmer-unfriendly code like R0 EQU 0 HWORD DS H LH R0,HWORD $IF ZERO LTR R0,R0 $THEN If your Assembler supports type- and length attributes in outer and inner macros, if you add some own types like "Register" you can code the same similar to "high level languages" like FORTRAN: R0 #EQUR 0 HWORD DS H IF HWORD,EQ,0,THEN We started this type of programming in the late 60-th -- and stopped it some years ago. If anybody is interested I will look for a description and the corresponding macro-library. -- Werner Icking icking@gmdzi.gmd.de (+49 2241) 14-2443 Gesellschaft fuer Mathematik und Datenverarbeitung mbH (GMD) Schloss Birlinghoven, P.O.Box 1240, D-5205 Sankt Augustin 1, FRGermany "Der Dativ ist dem Genitiv sein Tod."