Re: OP-code C8 3

2010-08-10 Thread Abe Kornelis
registers. There's a set 16 assigned to be GPRs, a set assigned to be ARs, FPRs, CRs, Millicode-only registers, etc. Addressing them by number is not something that makes sense outside the millicode scope... Just a guess... Cheers, Abe Kornelis. =

Re: Subjectify my objectivity

2010-08-14 Thread Abe Kornelis
On Sat, 14 Aug 2010 19:31:38 +1000, robin wrote: On 8/13/2010 11:22 PM, Ott, Jeff wrote: SR R1,R1 LH R1,STUFF is one of my favs. Probably he was thinking of (or used) IC, then changed to LH. **-- Don't count on it. I've had to maintain a program that was riddled with this kind of

Re: z12 new instruction list

2011-07-28 Thread Abe Kornelis
All, since we're at it. There's quite a collection ata www.hlasm.com/english/humor.htm My favorite: ACQT - Advance Cpu-clock to Quitting Time Cheers, Abe. - Original Message - From: Keith E. Moe ke...@sbcglobal.net To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Thursday, July 28,

Re: Determine if a dataset contains line numbers

2011-09-16 Thread Abe Kornelis
... Cheers, Abe Kornelis Creating Value from IT. What I do, after I download ASM source or JCL or anything else which __might__ have sequence number in it to mess me up, is unconditionally remove whatever may be in columns 73-end_of_record, then remove trailing blanks too

Re: Instruction Lists/Counts.

2013-02-15 Thread Abe Kornelis
down, and then the project got stalled. So at this moment the hlasm.com overviews are not entirely up-tp-date :-( Kind regards, and success! Abe Kornelis. === Op 15-2-2013 20:57, Gibney, Dave schreef: I am doing a high (very high) level presentation for my managers who have no MF

Re: Syntax for using created SET symbols in a SETC value?

2014-10-05 Thread Abe Kornelis
, of course... Reading John Ehrman's document may save you some of that time ;-) Kind regards, Abe Kornelis === Farley, Peter x23353 schreef op 4-10-2014 21:13: John, Thank you for that example, it helps a lot. The example I gave was generating DC lines for the sake of figuring out

Re: Macro to generate DS or DC

2014-10-05 Thread Abe Kornelis
these housekeeping details. Kind regards success! Abe Kornelis === Gary Weinhold schreef op 2-10-2014 18:14: I am trying to develop a technique to force a DSECT (describing some private control block of mine) to stay synchronized with the inline-constant and space-reserving versions

Re: Reference summary for 360/20

2014-11-23 Thread Abe Kornelis
-to-date. Also, the detailed instruction examples have never been extended beyond X'3F'. Maybe after my retirement I'll find to fix all the flaws and omissions... In the meantime, anyone who finds these charts and tables useful is welcome to use the material I provided. Kind regards, Abe Kornelis

Re: Reference summary for 360/20

2014-12-04 Thread Abe Kornelis
Tony, thanks! Added the document to my library. I noticed there are a few 'uncommon' instructions. As time permits I'll add these to the charts and tables on my site. Cheers, Abe === Tony Harminc schreef op 3-12-2014 17:50: On 3 December 2014 at 00:27, Robert A. Rosenberg a...@rarpsl.com

Re: 8 character mnemonics

2015-01-26 Thread Abe Kornelis
Chris, Unless my grasp of the English language it failing me, I would be utterly hesitant to relocate to any location ascribed to a Wight ;-) Kind regards Abe Kornelis == Chris Bowen schreef op 26-1-2015 om 10:34: With apologies for lateness and to those with unaware of the received

Re: 8 character mnemonics

2015-01-22 Thread Abe Kornelis
John, I have various macros that use embedded macros. To avoid naming collisions I have always used more than 8 characters to name these macros. I can tell you: it has worked fine for me from day one. Kind regards, Abe Kornelis. == John Ehrman schreef op 21-1-2015 om 20:02: Dave

Re: (My) John Ehrman Assembler Book

2015-02-10 Thread Abe Kornelis
instructions. I am especially interested in the vector architecture and instructions. To explain the vector architecture well, embellished with examples, exercises and solutions, you might end up with a volume that satisfies Lizette's desires? Kind regards Abe Kornelis == John Ehrman

New Principles of Operation

2015-03-09 Thread Abe Kornelis
All, I just downloaded the new version of the Principles of Operation SA22-7832-10 from IBM. The vector new vector architecture looks interesting, but completely different from the old vector architecture. Regards, Abe Kornelis ==

Re: Assembler Quiz

2015-03-30 Thread Abe Kornelis
Tom, I figured that out after I sent the email. Thanks for trying to help me :-) I maintain it's a nifty piece of code... Abe === Tom Marchant schreef op 30-3-2015 om 15:32: On Sun, 29 Mar 2015 21:44:01 +0200, Abe Kornelis wrote: where the literal ultimately assembles as AL(3)(2) I.e

Re: HLASM operand order vs. instruction operand order

2015-03-27 Thread Abe Kornelis
without thinking, but these rules have served me and my students pretty well. It's not much of an explanation, but it may help. Kind regards, Abe Kornelis. === Farley, Peter x23353 schreef op 26-3-2015 om 21:45: I guess this question is mostly for John Ehrman, but others may have

Re: Assembler Quiz

2015-03-27 Thread Abe Kornelis
Nifty, I doubt I'd ever dream that up. thanks for the fun moment. And - if used in real code - does deserve some additional comments... Abe Kornelis == John Ehrman schreef op 26-3-2015 om 23:07: Steve Smith asked for the answer to my quiz question of March 23: While we're having fun

Re: Assembler Quiz

2015-03-29 Thread Abe Kornelis
exactly. Again, I am surprised by the robustness of the z390 code. Chapeau for Don Higgins (creator of the z390 assembler emulator) And thanks to John Ehrman for testing our wit :-) Kind regards, Abe Kornelis (maintenance coordinator for z390) John Ehrman schreef op 26-3-2015 om 23:07

Re: LNKEDT 64-bit mode assembler in AMODE 31

2015-05-05 Thread Abe Kornelis
Agreed. Switching to BSAM might be another way to speed the thing up. Abe Kornelis. === Gary Weinhold schreef op 5-5-2015 om 17:50: Sounds like buffering records (like 100) or so into 31-bit memory in AMODE 31 and then looping on the load in AMODE64 could improve things. On 2015-05

Re: 360/20 instruction macros

2015-05-26 Thread Abe Kornelis
Glen, thanks a bunch! Abe. === glen herrmannsfeldt schreef op 27-5-2015 om 3:03: *** SET PS

Re: 360/20 instructions

2015-05-24 Thread Abe Kornelis
to share these macros? I'd like to use them to determine the operand formats used in source code. Thanks in advance, Abe Kornelis. == glen herrmannsfeldt schreef op 21-5-2015 om 21:36: The detail on the instructions are in: httt://www.bitsavers.org/pdf/ibm/360/funcChar/A26-5847-3_360

Re: 360/20 instructions

2015-05-21 Thread Abe Kornelis
Thank you all for the various pointers I received. I have some howmework to. Luckily, it's nearly weekend... Abe === glen herrmannsfeldt schreef op 21-5-2015 om 21:36: The detail on the instructions are in: httt://www.bitsavers.org/pdf/ibm/360/funcChar/A26-5847-3_360-20_funChar_Apr67.pdf The

Re: unusual instructions

2015-05-21 Thread Abe Kornelis
Glen, do you have any information available on these 360/20 specific instructions? I would like to use the info to update the instruction lists and charts on hlasm.com. Also, if time permits, I might add support for these instructions in z390. Cheers, Abe Kornelis == glen

Re: 360/20 instructions

2015-05-26 Thread Abe Kornelis
out the associated function codes and their meanings. thanks for the update anyway. Kind regards to you all, Abe Kornelis == Robert A. Rosenberg schreef op 26-5-2015 om 6:25: I may be wrong but I have the Impression hat the 360/20 version of BAS/BASR (that machine's equivalent to BAL

Re: ENQ rname_addr description

2015-08-26 Thread Abe Kornelis
Gil, I have always interpreted as qualified by the qname, though I will gladly admit this is an inference not directly implied by the text itself, and therefore subject to discussion. (not intending to start one right now, though). Just my 2p. Abe Kornelis === Op 26-8-2015 om 15:18

Re: Use of LQ results in ASMA080E?!

2016-01-05 Thread Abe Kornelis
Martin, all, As I read it, you could even use z390 (supported on any Java platform) to create an object deck, then pass that as input to Dave's binder/linker. Am I right, Dave? Abe Kornelis z390 support team. = Op 5-1-2016 om 17:49 schreef mar...@pi-sysprog.de: > Dave, >

Re: Use of LQ results in ASMA080E?!

2016-01-05 Thread Abe Kornelis
standard OBJ, GOFF or XOBJ object format it can be > input to our linker (and, for that matter, IBM’s binder.) > > - Dave R. - > >> On Jan 5, 2016, at 3:45 PM, Abe Kornelis <a...@bixoft.nl> wrote: >> >> Martin, all, >> >> As I read it, you coul

Re: ASSEMBLER-LIST Digest - 24 Feb 2017 to 25 Feb 2017 (#2017-14)

2017-02-25 Thread Abe Kornelis
John, welcome back! :-) Kind regards, Abe Kornelis === Op 26-2-2017 om 6:21 schreef John Ehrman: > Well, maybe not. I was laid off ("retired") by IBM last June, and managed to > get back to this list only a few days ago. I'll try to keep active if I > haven't

Re: EXECUTE Instruction and location of its target instruction

2016-11-23 Thread Abe Kornelis
Kind regards, Abe Kornelis ===

Re: HLASM "Anomaly"

2017-03-19 Thread Abe Kornelis
it, while issuing a warning. It does what it is told to do, but it might not be what the programmer intended it to do ;-) Abe Kornelis === Op 18-3-2017 om 23:21 schreef Paul Gilmartin: > Compare this with LHI 1,H5 and the next which generate a warning (do > we need the warning ?)

Re: How to automatically position generated data areas after all program-defined areas

2017-03-18 Thread Abe Kornelis
& success! Abe Kornelis Op 17-3-2017 om 22:22 schreef Keven Hall: > Peter, > If the END assembler directive is one that can be redefined, you could write > your own END macro that inserts any required data areas and generates an _END > (or whatever it is that E

Re: z14 PoO Available

2017-09-15 Thread Abe Kornelis
Dan, thanks for posting the links. I'll cross-post it to the z390 list. Kind regards, Abe Kornelis == Op 15-9-2017 om 8:07 schreef Dan Greiner: > The IBM z14 processor is generally available today (14 September 2017). > > The z/Architecture Principles of Operation corr

Re: z14 PoO Available

2017-09-23 Thread Abe Kornelis
All, I just noticed a typo in the new PoO (Publication SA22-7832-11): in figure 4-18 on page 4-65 the entry for GSC=37 specifies GSD bits 0-27. It seems GSD bits 0-26 would have been the correct value. Kind regards, Abe Kornelis == Op 15-9-2017 om 8:07 schreef Dan Greiner: > The IBM

Re: z14 PoO Available

2017-09-23 Thread Abe Kornelis
. Nevertheless, the PPNO mnemonic has disappeared from the appendix B. This holds for figures B-1, B-2, and B-3. Isn't it strange that a supported mnemonic is omitted from the appendix? Or was the PPNO mnemonic inadvertently maintained in the instruction description? Kind regards, Abe Kornelis

Re: z14 PoO Available

2017-09-23 Thread Abe Kornelis
, at the second-operand location in storage. Knowing that it takes extreme precision to read the PoO correctly, I am wondering about the meaning of the word "respectively" in this sentence. It seems superfluous. Am I mistaken? If so, then what is its significance? Kind regards, Abe Kornelis ==

Re: z14 PoO Available - SIGP description

2017-09-23 Thread Abe Kornelis
a description is given, nor is the code declared unassigned or reserved. Anybody aware of the status of order code X'14' ? Kind regards, Abe Kornelis Op 15-9-2017 om 8:07 schreef Dan Greiner: > The IBM z14 processor is generally available today (14 September 2017). > &

Re: z14 PoO Available

2017-09-24 Thread Abe Kornelis
All, In the new PoO, on page 24-14, the extended mnemonics for VFCHE are listed. It looks like the last one went missing: WFKHEXBS with mask values 4,12,1 I assume it should have been present? Kind regards, Abe Kornelis. === Op 15-9-2017 om 8:07 schreef Dan Greiner: > The IBM

Re: z14 PoO Available - VFLL instruction

2017-09-24 Thread Abe Kornelis
? Can it be it should have referred to the vector-enhancement facility 1 ? Kind regards, Abe Kornelis == Op 15-9-2017 om 8:07 schreef Dan Greiner: > The IBM z14 processor is generally available today (14 September 2017). > > The z/Architecture Principles of Operation corr

Re: z14 PoO Available - VFLR instruction

2017-09-24 Thread Abe Kornelis
All, another typo in the new PoO. This time on page 24-27, where extended mnemonic VLED is specified as taking two vector registers and three masks, but the VFLR equivalent has M4,M4,M5 which I think should have been M3,M4,M5. Kind regards, Abe Kornelis == Op 15-9-2017 om 8:07 schreef

Re: z14 PoO Available

2017-09-25 Thread Abe Kornelis
Dan, thanks for the elaboration. It seems to me that it is up to the individual user to find a way of pronouncing any mnemonic so as to avoid confusion with unintended alternate meanings ;-) With customers all over the globe, speaking many dozens of languages, collisions - or near-collisions -

Re: z14 PoO Available - VFLL instruction

2017-09-25 Thread Abe Kornelis
I'm reading the PoO with such scrutiny! Kind regards & happy programming! Abe Kornelis == Op 25-9-2017 om 2:12 schreef MELVYN MALTZ: > And wouldn't it be great if it was called z390 and available on a > website called www.z390.org and if just a few Java programmers could >

Re: z14 PoO Available

2017-09-25 Thread Abe Kornelis
Jonathan, Thanks for the reminder. Though it is not visible from the distributed posts on the list - they are sent both to the list and to the official IBM response email address. I get a generated email every time to confirm that the email has been received properly. Kind regards, Abe Kornelis

Re: Special character # on ASM names

2017-11-24 Thread Abe Kornelis
to make sure you have that code. Even if that is correct, you'll have to double check that the source code is translated correctly, so that the source code in Ebcdic on the MF does contain X'7B'. Kind regards & success, Abe Kornelis == Op 24-11-2017 om 11:30 schreef Hilario: > Hell

Re: An idea I got when researching a bug - warnings when a specific register is changed

2018-06-25 Thread Abe Kornelis
the drift. Kind regards & Happy programming! Abe Kornelis == Op 25/06/2018 om 17:49 schreef Binyamin Dissen: > Since the assembler knows which instructions modify which registers, it would > be nice if there was a way to "protect" a register for a cod

Re: wrong list but I am in a panic

2018-07-07 Thread Abe Kornelis
for the (first) faulty reference. Good luck with you repairs! Abe Kornelis == Op 06/07/2018 om 21:54 schreef Richard Kuebbing: > ISPF edit recovery just failed. > > "Nonexistent record referenced in recovery file or chain" > > Do I have any options? I appear to have lo

Missing extended mnemonic in zPoP

2018-03-28 Thread Abe Kornelis
out details like these, please make a mental note about the missing instruction. Anybody care to double-check on HLASM being aware of the WFKHEXBS mnemonic? Kind regards to you all, Abe Kornelis ==

Re: Missing extended mnemonic in zPoP

2018-03-29 Thread Abe Kornelis
of the pudding would have been to see the instruction being assembled correctly. I'll take your word for it, HLASM will assemble it just fine. Kind regards, Abe Kornelis == Op 29/03/2018 om 10:05 schreef Jonathan Scott: > Abe Kornelis writes: >> Anybody care to double-check on HL

Re: z14 specific instructions?

2019-06-05 Thread Abe Kornelis
I doubt that you will find an airtight solution.. If someone issues an OPSYN to define or undefine the operation mnemonic of your choice, your assembly will take the wrong turn. I fail to see how you would prevent that ... Kind regards, Abe Kornelis == Op 05/06/2019 om 19:13 schreef

Re: FLAG(TRUNC)

2019-04-10 Thread Abe Kornelis
John, that makes sense I think: Y is a signed halfword whereas AL2 is an (unaligned) two-byte unsigned value. If you'd removed the minus signs, I'd expect the warning to disappear as well. Kind regards, Abe === Op 10/04/2019 om 14:48 schreef Janko Kalinic: > This is old code, but it is

Re: Z390 Assembler Emulator

2020-05-14 Thread Abe Kornelis
about that. kind regards, Abe Kornelis z390 coordinator. == Op 12/05/2020 om 15:42 schreef Kerry Liles: > Thanks Dave - valuable insight. > > On Tue, 12 May 2020 at 04:24, Dave Wade wrote: > >> Kerry, >> >> I tried it recently. I think the simple answer i

Re: z/390 Assembler and START statement.

2020-06-07 Thread Abe Kornelis
Dan, A belated reaction, sorry about the delay. I just checked the source code. It seems START is treated as a synonym of CSECT. At the java level the z390 code does not seem to expect an argument. If you need it, we could raise an RPI. Kind regards, Abe Kornelis. z390 coordinator

z390 update - looking for z390-...@t-online.de

2021-03-22 Thread Abe Kornelis
unt z390-...@t-online.de. If that looks familiar to you, would you please contact me off-list? I hope to hear from you soon. On behalf of the z390 development team, With kind regards / mit herzlichen Gruesse, Abe Kornelis. ==

Re: How can I invoke an arbitrary macro with arbitrary KEYWORD parameters?

2021-09-29 Thread Abe Kornelis
Robert, IIRC (I hope so) I got it to work with all parms concatenated into a single variable. You might give it a try ... Success! Abe === Op 30/09/2021 om 01:10 schreef Ngan, Robert (DXC Luxoft): > I’m trying to invoke a macro specifying keyword parameters within another > macro, where the

Re: FPR usage question

2021-11-29 Thread Abe Kornelis
All, to my knowledge, the FPRs got even  numbers only because in the initial implementation they existed as register pairs(!) - hence the weird numbering scheme we still have today :-) Kind regards, Abe Kornelis Op 29/11/2021 om 15:22 schreef Seymour J Metz: > I'm not aware of

Re: Vector Ops

2021-12-15 Thread Abe Kornelis
Dan, looks extremely interesting! It's unfortunate I won't have time (anytime soon) to really dive into it. I've kept a copy for future reference. Thanks a lot for sharing! Kind regards, Abe Kornelis == Op 14/12/2021 om 06:03 schreef Dan Greiner: > Back in late September, I pos

Re: Modifying the VSAM Request Parameter List (RPL)

2022-02-24 Thread Abe Kornelis
how much of a risk that poses to you ... Kind regards, Abe Kornelis === Op 24/02/2022 om 17:33 schreef Dave Clark: > This isn't strictly an Assembler question -- more of a "How to > Modify a VSAM RPL Efficiently in Assembler" type of question. But... > >

Re: Fun with RXSBG

2022-03-04 Thread Abe Kornelis
Dan, thanks for sharing this. It is not an obvious coding technique. With the semantics of code fragment explained, it does make sense & speed! Kind regards, Abe === Op 03/03/2022 om 23:22 schreef Dan Greiner: > At the risk of sounding pedantic, it's no secret that I think the ROTATE THEN > *

Re: Using ARs for MVC vs. using Move to Primary or other instruction?

2022-04-03 Thread Abe Kornelis
you're done. Which implies that the tasks running there will be suspended longer than if you made a real copy. If you decide you really need to copy the data over, you're probably best off using a loop of MVPG instructions. Kind regards, Abe Kornelis == Op 03/04/2022 om 01:59 schreef Tony

Re: Weird location counter

2022-04-03 Thread Abe Kornelis
, so an additional EJECT just before the PATCH_AREA might help you to pinpoint the problem. Kind regards, Abe Kornelis == Op 03/04/2022 om 21:02 schreef João Reginato: > Hi guys > Take a look in these pieces of code compiled in z/OS V2R4: (use any > proportional font like courier f

Re: Weird location counter

2022-04-04 Thread Abe Kornelis
> Charles > > > -Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] > On Behalf Of Abe Kornelis > Sent: Sunday, April 3, 2022 12:29 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Re: Weird location counter > > Joao, > &g

Re: Making Encoded Bits Human Readable

2022-01-31 Thread Abe Kornelis
with a zero rotate amount. Which has the advantage of leaving its input register (R2 in PoP parlance) unchanged. So you can easily repeat for the second set of two bits... Abe === Op 31/01/2022 om 21:15 schreef Abe Kornelis: > Gil, > > you surely should! > > Abe > === > > > Op

Re: Making Encoded Bits Human Readable

2022-01-31 Thread Abe Kornelis
Dave, you might consider to use SPM to set the CC in the PSW from the two bits. Then you can use a series of BC instructions to select the desired subsequent action... Does that make sense without a coded example ? If not, I'll cobble something together for you ... Abe === Op 31/01/2022 om

Re: Making Encoded Bits Human Readable

2022-01-31 Thread Abe Kornelis
n the ASM tools >> bag, >> > You're welcome. Except I forgot there's no shift-and-mask instruction. > > > > On Jan 31, 2022, at 12:56:33, Abe Kornelis wrote: >> you might consider to use SPM to set the CC in the PSW from the two bits. >> Then you can

Re: Branch-and-Link nomenclature question

2022-02-10 Thread Abe Kornelis
Hi Melvyn, is this what you are looking for? It does not duplicate PoP, but does have some references ... http://www.bixoft.com/english/opcd/balr.htm Kind regards, Abe === Op 10/02/2022 om 21:30 schreef Melvyn Maltz: > Hi Guys, > > Specifically to Dave Cole's query... > > >>>(FWIW, I find

Re: Debugging Assembler Rexx programs

2022-01-31 Thread Abe Kornelis
-Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] > On Behalf Of Abe Kornelis > Sent: Wednesday, January 26, 2022 11:38 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Re: Debugging Assembler Rexx programs > > Cha

Re: Unsigned Binary Formats

2022-01-19 Thread Abe Kornelis
Dave, I'd suggest you clear the high-order word of R2 then use CVDG. Would that work for you? Kind regards, Abe Kornelis === Op 19/01/2022 om 18:32 schreef Dave Clark: > If I have a 4-byte signed binary number (i.e., up to 2147483647), > I can convert it to packed

Re: Unsigned Binary Formats

2022-01-20 Thread Abe Kornelis
Dave, your initial request was for conversion of an unsigned 32-bit binary value. The LGF you are using does sign extension...  I'd suggest you use LLGF to avoid just that ;-) Additionally, if speed is a concern, you might want to save only the high halves of registers when they may be changed

Re: Debugging Assembler Rexx programs

2022-01-26 Thread Abe Kornelis
Charles, I've used SNAP dumps extensively - but never in a program called from REXX. Is there a reason you left it out of your list of options? I used to like very much the ultra-short snaps with just PSW and register dump. Kind regards, Abe === Op 26/01/2022 om 18:32 schreef Charles Mills: >

Re: Self-documenting Bit Settings

2023-08-17 Thread Abe Kornelis
John, that is correct. Thank you for providing a pointer. I was under the assumption it was no longer available on the web. I still view this document as very instructive. My copy is close at hand, like PoP and HLASM Lang Ref. Actually, this presentation inspired me to create what I call

Re: Self-documenting Bit Settings

2023-08-15 Thread Abe Kornelis
All, The technique has been described extensively by the late Dr. John Ehrman. I think it was a Share presentation. I used to create my own version. Works like a charm. I love to be able to simply manage a bit by name, not needing to care about the label used to define the storage location.

Re: Documentation on the new 64 bit instructions

2022-06-29 Thread Abe Kornelis
. Obviously, for modal instructions such as LA, the behaviour of the instruction will vary depending on the amode in effect at the time of execution. Kind regards, Abe Kornelis == Op 28/06/2022 om 18:03 schreef Colin Paice: > I've been working on calling an assembler program from a 64 bit C prog

Re: When did logical instructions appear?

2022-06-17 Thread Abe Kornelis
Michael, all, in addition to all the replies already provided, I would like to point you to a page I created: https://bixoft.nl/english/opcodes.htm Kind regards & happy programming! Abe === Op 16/06/2022 om 16:36 schreef Schmitt, Michael: > My company's COBOL coding standards are* to define

Re: Quadword constant

2022-05-20 Thread Abe Kornelis
All, for literals where the assembler refuses to do the calculus for you, you can use a SETA statement to determine the value, then use the SETA symbol to promote the calculated value into the DC value. The upper limit of 2G of results, including any intermediate values, still applies. To get

Re: Assembler courses

2022-09-17 Thread Abe Kornelis
ial. It is available on the web, e.g. from cbttape.org. Please make sure you use the version 2. Kind regards, Abe Kornelis == Op 17/09/2022 om 04:11 schreef Gary Weinhold: > To help a person who has COBOL and C language experience learn to write > assembler, I would like them to l

Re: IEFU86 WorkArea use ?

2023-07-08 Thread Abe Kornelis
Hi Guillaume, No I did not see anything specified on serialization. Unless I've missed it, that should imply no serialization is needed. I guess it's serialized by the caller of the exit, or maybe no explicit serialization is needed at all. But that does not help at all in resolving your abend.

Re: IEFU86 WorkArea use ?

2023-07-08 Thread Abe Kornelis
be inappropriate if another mechanism is documented. Kind regards, Abe Kornelis. === Op 08/07/2023 om 12:17 schreef Pieter Wiid: > If a work area is shared among exits, I would expect one of those exits to > getmain the area and store the address. > > Consider this: > LT Rx,IFAEX

Re: IEFU86 WorkArea use ?

2023-07-08 Thread Abe Kornelis
in the Principles of Operation. Or in the late John Ehrman's excellent (although overcomplete) tutorial  Assembler Language Programming for IBM z System Servers. Kind regards & welcome to the world of assembler programming! Abe Kornelis == Op 08/07/2023 om 16:10 schreef Guillaume Boesel:

Re: IEFU86 WorkArea use ?

2023-07-08 Thread Abe Kornelis
Guillaume, I just read up on the exit documentation, following the pointer you provided. And I noticed the exit is called in supervisor mode, key 0. If you are indeed relatively new to assembler programming, then coding an authorized exit such as IEFU86 might not be the best option for learning.

Re: Notepad++ language formatting

2023-06-04 Thread Abe Kornelis
& happy programming! Abe === Op 03/06/2023 om 23:26 schreef Paul Gilmartin: > On 6/3/23 12:29:30, Abe Kornelis wrote: >> >> based on the work by Charles Mills I created an updated/extended version >> including all current instructions according PoP, more macros, >> mor

Re: Notepad++ language formatting

2023-06-04 Thread Abe Kornelis
Paul, there's a difference in reference frame, causing confusion. To highlight macros differently from opcodes, Notepad++ needs a list of them. That's the list of macros I referred to. I extended the list to contain most macros from SYS1.MACLIB and SYS1.MODGEN. I'm sure every user will have

Re: Notepad++ language formatting

2023-06-03 Thread Abe Kornelis
All, based on the work by Charles Mills I created an updated/extended version including all current instructions according PoP, more macros, more register names, and more file types. It is not perfect, but it does a reasonable job. So I submitted it to the Notepad++ community. They've taken it

Re: Macros: sublists question

2023-08-01 Thread Abe Kornelis
),(=,2024,1,15) I guess you might also choose to keep sublist  positions compatible: MYMAC (2023,7,31),(=2024,1,15) Kind regards, Abe Kornelis === Op 01/08/2023 om 22:39 schreef David Eisenberg: > I hope someone can help me; I have a macro assembler question. > >

Re: Variable symbol without leading

2023-06-28 Thread Abe Kornelis
Jon, I've heard others make that remark before: HLASM is actually two languages. I find the distinction rather arbitrary - both aspects of HLASM are intimately interconnected. As Mr. Metz correctly remarked, there is only a single Language Reference Manual for HLASM. I think that's for a very

Re: Variable symbol without leading

2023-06-28 Thread Abe Kornelis
created set symbols, use the existing &() notation. Works like a charm :-) Kind regards & happy programming! Abe Kornelis == Op 28/06/2023 om 16:59 schreef Paul Gilmartin: > On 6/28/23 08:17:20, Dave Clark wrote: >> "IBM Mainframe Assembler List" wrote on >>

Re: Decimal Floating Point Numbers

2024-03-04 Thread Abe Kornelis
-1 is just showing the possible range of values with an unbiased > exponent. It’s not meant to indicate any representation of the top/bottom of > the range in memory which uses biased exponents. > > > > HTH, > > Gary > > > > -Original Message- > From

Decimal Floating Point Numbers

2024-03-03 Thread Abe Kornelis
is made of LUV representation limits. Instruction descriptions equally make no mention of LUV vs. RUV. To me it appears the instruction always treat the data as RUV. Is this correct? Or am I missing something obvious? Thanks in advance, Abe Kornelis. ==

Re: Decimal Floating Point Numbers

2024-03-05 Thread Abe Kornelis
Hi Peter, thanks for your response. Nice to hear from you :-) They would be encoded quite differently. Say you'd encode the value seven. In LUV this would be 7.0*10**0 In RUV this would be 07*10**0 In either case the number of zero digits would depend on the format of the DFP: D/E/X

Re: Decimal Floating Point Numbers

2024-03-06 Thread Abe Kornelis
Gary, As Gary Peskin and Tony Harminc have pointed out, the sequence of bits is the same, and the 'value' is the same too. Please see my prior email with examples to validate that the value 7 encoded in either LUV or RUV eventually ends up having the exact same sequence of bits. Which

Re: Don Higgins has retired from z390 development again

2024-03-05 Thread Abe Kornelis
and relaxing.* > > * * > > *I will miss working with the current z390 core development team: Abe > Kornelis, John Ganci, and Anthony Delosa, and hope they will continue on.* > > * * > > *I also miss working with Melvyn Maltz and John Ehrman who supported > z390.  M

Re: Decimal Floating Point Numbers

2024-03-06 Thread Abe Kornelis
> > 7.00 x 10 * (95-95) > -or- > 700 x 10 * (95-101) > > I hope this example helps. > > Take care, > Gary > > -Original Message- > From: IBM Mainframe Assembler List On > Behalf Of Abe Kornelis > Sent: Tuesday, March 5, 2024 8:58 AM > To: ASS

Re: ASMA043E Previously defined symbol

2024-05-01 Thread Abe Kornelis
Charles, all, That type of error also occurs within HLASM when it is processing macro code. some errors are caught only if the pertinent statement is actually executed. It hit me so many times that we implemented a non-compatible feature in z390 to do a better job at early error detection. I have

Re: IEABRC anomaly

2024-05-02 Thread Abe Kornelis
Shmuel, all, it's been a long time since I last saw code like that. Worst example was code that XOR-ed the opcode of an AH instruction to switch back and forth between AH and SH to print a report in two columns. If I still had code like that in my code base, I'd prioritize to make that code

Re: ASMA043E Previously defined symbol

2024-05-01 Thread Abe Kornelis
regards, Abe Kornelis == Op 01/05/2024 om 12:56 schreef João Reginato: > I can't see it as an additional code if it is already checking the > duplicates. It could only show an error where/when/if the duplicated field > is referenced. Simple > > Em qua., 1 de mai. de 202