Article View: comp.lang.asm370
Article #479(none)
From: "John A. Pershing Jr."
Date: Thu, 08 Nov 1990 15:36
Date: Thu, 08 Nov 1990 15:36
9 lines
962 bytes
962 bytes
If you're coding in 370 Assembler, then simply use the equivalent
machine instructions. SUBSTR ends up being either an EX (Execute) of
an MVC (Move) instruction for "short" strings, or an MVCL (Move Long)
instruction for "long" strings. (If you know the length of the "short"
substring a-priori, then you don't need the EX -- just the MVC.) INDEX
and VERIFY both end up being variants of the TRT (Translate and Test)
instruction.
John Pershing, IBM Research, Yorktown Heights
Technical Details
Message-ID:
<9011081546.AA18529@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!YKTVMH3.BITNET!PERSHNGShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!YKTVMH3.BITNET!PERSHNG
From: PERSHNG@YKTVMH3.BITNET ("John A. Pershing Jr.")
Newsgroups: comp.lang.asm370
Subject: (none)
Message-ID: <9011081546.AA18529@ucbvax.Berkeley.EDU>
Date: 8 Nov 90 15:36:57 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
<ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 9