Article View: comp.lang.asm370
Article #687Re: memo on my structure assembler macros
From: news
Date: Mon, 15 Apr 1991 07:36
Date: Mon, 15 Apr 1991 07:36
31 lines
1692 bytes
1692 bytes
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."
Technical Details
Message-ID:
<9104151705.AA18189@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!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!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
<ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 31