Re: Concatanate Bits Instruction?

2013-08-07 Thread Robert A. Rosenberg
At 06:37 -0700 on 08/07/2013, Duffy Nightingale wrote about Re: Concatanate Bits Instruction?: Hi All, Thanks much to everyone who responded for all the hints and tips. Someday I hope to be of use to someone on this thread! Andreas, I think you caught a mistake in my "specs". It is

Re: Concatanate Bits Instruction?

2013-08-07 Thread Duffy Nightingale
fy -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of robin Sent: Tuesday, August 06, 2013 12:55 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Concatanate Bits Instruction? Seems unduly and unnecessarily complicated to me. I

Re: Concatanate Bits Instruction?

2013-08-06 Thread Jon Perryman
I agree with the KISS method. If it's concatenate then you can do it without the complication. Easily modified to run on OS/360. No need for the complicated moves and the extra register for shifting. Instead just O directly from storage to merge bits and save it back to storage. Here's what I wo

Re: Concatanate Bits Instruction?

2013-08-06 Thread robin
Seems unduly and unnecessarily complicated to me. I'm a believer in the KISS principle. From: "Andreas F. Geissbuehler" Sent: Tuesday, 6 August 2013 12:30 AM Duffy, Assuing you meant "concatenate" as in appending 57 bits to the end of a bitstring of say 395 bits which when done will have grown

Re: Concatanate Bits Instruction?

2013-08-05 Thread Andreas F. Geissbuehler
Duffy Nightingale wrote: Working on a project that requires me to build a long bit string in storage - initialized to binary 0’s. Have a need to keep concatenating bits to this string as the process continues. The len of the bit strings to add are 4, 7, 10 and possibly others. I came up with th

Re: Concatanate Bits Instruction?

2013-08-05 Thread robin
From: "Robert A. Rosenberg" Sent: Monday, 5 August 2013 1:49 PM What you are describing is not concatenation - It is altering bits in the string. As you concatenate you need to increase the string length and add the new bits to the end. From his description, the work area is already defined,

Re: Concatanate Bits Instruction?

2013-08-04 Thread Jon Perryman
th to R14 after the move to point to the next field and forget about the SR. Jon Perryman > > From: Robert A. Rosenberg > >At 21:46 -0700 on 08/03/2013, Duffy Nightingale wrote about >Concatanate Bits Instruction?: > >>Hi All, >> >

Re: Concatanate Bits Instruction?

2013-08-04 Thread Rob van der Heij
On 4 August 2013 13:05, robin wrote: > Then double shift left by k bits. > Then do an OI using EX to put in those k bits. > Then double left shift again, this time by 8 bits and OI using EX. > Continue thus if there are more bits > I've done something similar with an 8-bit mask using EX and

Re: Concatanate Bits Instruction?

2013-08-04 Thread Robert A. Rosenberg
At 21:46 -0700 on 08/03/2013, Duffy Nightingale wrote about Concatanate Bits Instruction?: Hi All, Working on a project that requires me to build a long bit string in storage - initialized to binary 0¹s. Have a need to keep concatenating bits to this string as the process continues. The len

Re: Concatanate Bits Instruction?

2013-08-04 Thread robin
From: "Duffy Nightingale" Sent: Sunday, 4 August 2013 2:46 PM Working on a project that requires me to build a long bit string in storage - initialized to binary 0’s. Have a need to keep concatenating bits to this string as the process continues. The len of the bit strings to add are 4, 7,

Concatanate Bits Instruction?

2013-08-03 Thread Duffy Nightingale
Hi All, Working on a project that requires me to build a long bit string in storage - initialized to binary 0’s. Have a need to keep concatenating bits to this string as the process continues. The len of the bit strings to add are 4, 7, 10 and possibly others. I came up with the idea of lini