Article View: comp.lang.asm370
Article #234Correction, correction...
From: Rob Hamilton
Date: Sun, 12 Nov 1989 22:06
Date: Sun, 12 Nov 1989 22:06
21 lines
1125 bytes
1125 bytes
*Sigh* I already have to make a correction to the program chunk I just
sent. It SHOULD read:
.
...
.
MVC STRING(256),BLANKS blank out string to be xlated
MVC STRING(L'INPUT),INPUT insert string to be checked
TR TRTAB(256),STRING use the string as the translation table
TRT TRTAB(256),NONBLANK find the first nonblank
LA R2,STRING+256 calculate where that is...
SR R2,R1 ...and that address is in R2
.
...
.
Otherwise, the address in R2 points to some position in TRTAB, which
isn't what you wanted at all....
Sorry for the typo.
R;
Technical Details
Message-ID:
<8911122344.AA21783@brazos.rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!UOFT01.BITNET!ASPRMHShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!UOFT01.BITNET!ASPRMH From: ASPRMH@UOFT01.BITNET (Rob Hamilton) Newsgroups: comp.lang.asm370 Subject: Correction, correction... Message-ID: <8911122344.AA21783@brazos.rice.edu> Date: 12 Nov 89 22:06:48 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List <ASM370%UCF1VM.BITNET@ricevm1.rice.edu> Distribution: inet Organization: The Internet Lines: 21