Very late to the game, but could you use one of the new vector string
instructions? Possibly a combination of VECTOR FIND ELEMENT EQUAL and
VECTOR STRING RANGE COMPARE. I've done nothing with this (yet), so I
can't provide any answers or advice.
You would have to be z13 or better to open.
On
: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Two string
instruction questions
On 2018-03-15, at 11:02:17, Charles Mills wrote:
> Your points are good but FWIW ; is a command separator and at a "higher
>level" than quoted string parsing.
> Find "foo;bar" is f
On 2018-03-15, at 11:02:17, Charles Mills wrote:
> Your points are good but FWIW ; is a command separator and at a "higher
> level" than quoted string parsing.
> Find "foo;bar" is for better or worse exactly the same as
> Find "foobar"
>
I believe not. Find "foo;bar" is the same as
Find
On 2018-03-15, at 01:21:23, robi...@dodo.com.au wrote:
> Use a TR as well. Works wonders.
>
Maybe
> - Original Message -
> Sent:Wed, 14 Mar 2018 21:06:36 -0600
>
> Ok. Now make it case-insensitive, which is a common convention. That
> can be done with Boyer-Moore.
>
When Boyer-Moore
e From: Paul Gilmartin
<0014e0e4a59b-dmarc-requ...@listserv.uga.edu> Date: 3/15/18 9:45 AM
(GMT-08:00) To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Two string
instruction questions
On 2018-03-15, at 08:27:57, Charles Mills wrote:.
>
> 2. TRT is a single op code but that
On 2018-03-15, at 08:27:57, Charles Mills wrote:.
>
> 2. TRT is a single op code but that does not make it "fast."
>
The peculiar evil of TRT is that "Everything looks like a nail."
You need only hammer on it enough with TRT.
In ISPF, the command:
FIND "foo;bar"
... fails for
ursday, March 15, 2018 7:32 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Two string instruction questions
Am I missing something? What's wrong with SRST?
On 3/15/18, 10:28 AM, "IBM Mainframe Assembler List on behalf of Charles
Mills" <ASSEMBLER-LI
am going to
guess SRST is still faster.
Charles
-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On
Behalf Of Alan Atkinson
Sent: Thursday, March 15, 2018 7:32 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Two string instruction
t is slow -- instructions themselves hardly matter.
Charles
-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Robin Vowels
Sent: Wednesday, March 14, 2018 7:32 PM
To: ASSEMBLER-LIST@LISTSERV
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Two string instruction questions
Use a TR as well. Works wonders.
nds";
and cache misses are what is slow -- instructions themselves hardly matter.
Charles
-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Robin Vowels
Sent: Wednesday, March 14, 2018 7:32 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Sub
Use a TR as well. Works wonders.
- Original Message -
From: "IBM Mainframe Assembler List"
To:
Cc:
Sent:Wed, 14 Mar 2018 21:06:36 -0600
Subject:Re: Two string instruction questions
On 2018-03-14, at 20:32:18, Robin
On 2018-03-14, at 20:32:18, Robin Vowels wrote:
> From: "Charles Mills"
> Sent: Thursday, March 15, 2018 2:51 AM
>
>> 1. Is there a machine instruction that will find one string within
>> another? That given "Now is the time" and "is" would find the "is" and
>> return a
Thanks @Jonathan.
Charles
-Original Message-
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Jonathan Scott
Sent: Wednesday, March 14, 2018 9:56 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Two string instruction questions
Ref: Your note
the planet ?
Melvyn Maltz
- Original Message -
From: "Farley, Peter x23353" <peter.far...@broadridge.com>
To: <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Sent: Wednesday, March 14, 2018 10:18 PM
Subject: Re: Two string instruction questions
I think I read somewhere that
[mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On
Behalf Of Charles Mills
Sent: Wednesday, March 14, 2018 5:49 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Two string instruction questions
That's interesting. Thanks!
I did think of what CUSE would be perfect for: what I know as "ver
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Paul Gilmartin
Sent: Wednesday, March 14, 2018 10:56 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Two string instruction questions
On 2018-03-14, at 09:51:22, Charles Mills wrote:
> 1.
On 2018-03-14, at 09:51:22, Charles Mills wrote:
> 1. Is there a machine instruction that will find one string within
> another? That given "Now is the time" and "is" would find the "is" and
> return a pointer to it? A machine instruction analog of Rexx POS?
>
> 2. Searching the PoOp
Ref: Your note of 14 March 2018, 08:51:22 -0700
Charles Mills wrote:
> 1. Is there a machine instruction that will find one string within
> another? That given "Now is the time" and "is" would find the "is" and
> return a pointer to it? A machine instruction analog of Rexx POS?
I'm not
On 14 March 2018 at 11:51, Charles Mills wrote:
> 1. Is there a machine instruction that will find one string within
> another? That given "Now is the time" and "is" would find the "is" and
> return a pointer to it? A machine instruction analog of Rexx POS?
I am almost
half
of Charles Mills <charl...@mcn.org>
Sent: Wednesday, March 14, 2018 12:33 PM
To: ASSEMBLER-LIST@listserv.uga.edu
Subject: Re: Two string instruction questions
I don't read it that way but I am less than certain of my interpretation.
Some CUSE examples in Appendix A would be nice,
According to John Ehrman's "Assembler Language Programming for IBM System zT
Servers Version 2.00," the CUSE instruction searches only for matches at the
same offset. In the case you describe, it would not find a match unless the
second string was "is" so that the word you are looking for is
A.EDU
Subject: Re: Two string instruction questions
If your search string is less than 256 bytes then CUSE should work, if I am
reading th PoOps correctly. Set R0 to the length of the search string.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
_
@LISTSERV.UGA.EDU
Subject: Re: Two string instruction questions
If your search string is less than 256 bytes then CUSE should work, if I am
reading th PoOps correctly. Set R0 to the length of the search string.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
If your search string is less than 256 bytes then CUSE should work, if I am
reading th PoOps correctly. Set R0 to the length of the search string.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
From: IBM Mainframe Assembler List
25 matches
Mail list logo