Re: Convert *signed* EBCDIC to packed decimal

2020-06-04 Thread Gerhard adam
the input character string has only digits. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Assembler List [ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf of Gerhard adam [gada...@charter.net] Sent: Thursday, June 4, 20

Re: Convert *signed* EBCDIC to packed decimal

2020-06-04 Thread Gerhard adam
There is no such thing as a sign before the value is packed or converted to binary. Since all numbers have a zone field of X’F’ there can be no discussion about a sign since it is not part of the number Get Outlook for iOS On Thu, Jun

Re: z/OS HLASM: EQU for statement labels

2020-06-01 Thread Gerhard adam
Even though it may not happen often the EQU can point to an odd address and cause the label to be referenced when it is filled with binary zeroes (S0C1) The use of 0H always forces boundary alignment for instructions Get Outlook for iOS

Re: Review My Program

2015-12-14 Thread Gerhard Adam
MVC does not modify registers, so there is no way to get data into or out of registers. Sent from my iPad On Dec 14, 2015, at 10:42 AM, "David S." wrote: >> Why do you use LM and STM to load the fields in to registers >> and then out to memory again, rather than just

Re: Review My Program

2015-12-14 Thread Gerhard Adam
Never mind, I realize I misunderstood the question. Apologies. Sent from my iPad > On Dec 14, 2015, at 10:49 AM, Gerhard Adam <gada...@charter.net> wrote: > > MVC does not modify registers, so there is no way to get data into or out of > registers. > > Sent from my i

Re: Addressing issue

2013-03-14 Thread Gerhard Adam
Presumably there are no problems, since that usually creates sufficient incentive to solve them. So the question isn't the justification to stay below the line, but rather what is the requirement that it be above the line? If there is no requirement, then it's purely aesthetics. Adam

Re: Baseless vs Based

2010-12-20 Thread Gerhard Adam
With R0, R1, R13, R14, and R15 already unavailable, and several more tied up with critical control blocks, the number of available registers is already limited. Instruction base registers exacerbate the problem. There is no reason to use base registers for branching, so the only concern would be