Re: New Metal C standalone product for z/OS

2018-07-19 Thread Kirk Wolf
can parse the ADATA and generate an XML description of the ADATA. This might be interesting to leverage to generate mappings for other languages. You might also want process this to specify alternate types over the data. Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Jul 18

Re: Fair comparison C vs HLASM

2018-02-05 Thread Kirk Wolf
in C/C++ (and your PL/X pseudo code) - you don't seem to understand how to use the MVCIN instruction. Check the POP. Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Feb 5, 2018 at 12:54 PM, Jon Perryman <jperr...@pacbell.net> wrote: > This is too funny. Profess the vir

Re: Fair comparison C vs HLASM

2018-02-01 Thread Kirk Wolf
With bash you can handle multiple pipes at once without explicit named pipes ("process redirection"), and you can also get a completion status array ("PIPESTATUS[i]") from a multi-stage pipe. Pity there is no z/OS port of bash that supports local spawn, which is important

Re: Fair comparison C vs HLASM

2018-01-31 Thread Kirk Wolf
ned char* dest, unsigned char* src, unsigned char len) { __asm ( " BRU *+10\n" " MVCIN 0(*-*,%0),0(%1)\n" " BCTR %2,0\n" " EXRL %2,*-8\n" : : "a"(dest), "a"(src), "r"(len)); } The compiler will inline this in the calling funct

Re: Fair comparison C vs HLASM

2018-01-31 Thread Kirk Wolf
On Wed, Jan 31, 2018 at 8:09 AM, Charles Mills wrote: > FWIW, I would guess that strcpy() in many cases compiles into MVST. > > Yes it does. See "Using built-in functions to improve performance" in the XLC/C++ Programming Guide.

Re: Fair comparison C vs HLASM

2018-01-31 Thread Kirk Wolf
On Tue, Jan 30, 2018 at 9:39 PM, Jon Perryman wrote: > > C is a byte by byte language. Anything not hidden in a primitive or > function must be processed byte by byte. In primitives and functions, the > compiler can choose how to implement it. The point is C programmers

Re: Fair comparison C vs HLASM

2018-01-30 Thread Kirk Wolf
use std::string or write your own with whatever implementation you want. Kirk Wolf Dovetailed Technologies http://dovetail.com On Tue, Jan 30, 2018 at 11:27 AM, Jon Perryman <jperr...@pacbell.net> wrote: > > > On Tuesday, January 30, 2018 8:05 AM, Paul Gilmartin < > 00

Re: Fair comparison C vs HLASM

2018-01-30 Thread Kirk Wolf
Assembler-List last October, which I will re-post below because it deserves more bits of storage. Kirk Wolf Dovetailed Technologies http://dovetail.com "The Pointlessness of handwriting "efficient" code (was One Byte MVC Versus IC/STC)" David Cole dbc...@colesoft.com 10/16/

Re: New web based system for HLASM customer requirements

2012-05-17 Thread Kirk Wolf
Apparently IBM has broken all of their support/docview.wss links with the new SR thingy. Amateur hour On Wed, May 16, 2012 at 10:55 AM, Sharuff Morsa3 sharuff_mo...@uk.ibm.comwrote: HLASM has now been added to the list of products on IBM RFE's website at developerWorks. RFE (?Request for

Re: Is the PoOP too big? (was Assembler manuals)

2011-08-24 Thread Kirk Wolf
Is it the PoOP that's too big, or the instruction set?

Re: Pipeline question

2011-08-14 Thread Kirk Wolf
On Sat, Aug 13, 2011 at 9:55 AM, Paul Gilmartin paulgboul...@aim.comwrote: On Aug 12, 2011, at 14:22, Kirk Wolf wrote: On Fri, Aug 12, 2011 at 12:57 PM, Tony Harminc t...@harminc.com wrote: Which W do you want - Welch or Wegner? (Welch - ZIP, Wegner - AMATERSE, roughly.) Of course some

Re: Pipeline question

2011-08-12 Thread Kirk Wolf
My thanks to Martin, Fred, et. al for this very interesting thread. It would be very interesting to see the complete code, especially if it evolves into a complete Base64 decoder (as in MIME). Kirk Wolf Dovetailed Technologies http://dovetail.com PS As your next project :-) it would

Re: Pipeline question

2011-08-12 Thread Kirk Wolf
isn't what I meant. More valuable would be deflate (RFC 1951). Kirk Wolf Dovetailed Technologies http://dovetail.com

Non-LE Assembler XCTL to LE C module with PARM=

2011-07-20 Thread Kirk Wolf
if one of the experts here knew what will happen and why... Thanks, Kirk Wolf Dovetailed Technologies http://dovetail.com

Re: Non-LE Assembler XCTL to LE C module with PARM=

2011-07-20 Thread Kirk Wolf
Thanks everyone for the info... seems to validate / encourage me that it *should* work and that trying it is not a wasted endeavor... Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Jul 20, 2011 at 11:10 AM, Ray Mullins m...@lerctr.org wrote: On 2011-07-20 06:58, Kirk Wolf wrote

Re: ASM vs HLL (Was: CPU: ASSM vs ENTERPRISE COBOL - SOLVED!)

2011-04-09 Thread Kirk Wolf
you can mix-in C with assembler. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Apr 8, 2011 at 4:55 PM, Hall, Keven keh...@informatica.com wrote: If the C Programmer is allowed to cheat by using a pre-existent and debugged set of code (in lieu of creating it from scratch), so can

Re: ASM vs HLL (Was: CPU: ASSM vs ENTERPRISE COBOL - SOLVED!)

2011-04-09 Thread Kirk Wolf
and then rewrite the performance critical sections in assembler if necessary (and assuming that the C compiler isn't just as good). Kirk Wolf Dovetailed Technologies http://dovetail.com PS Sure, its heresy to criticize assembler on this list. I simply believe that most assembler programmers should consider

Re: ASM vs HLL (Was: CPU: ASSM vs ENTERPRISE COBOL - SOLVED!)

2011-04-08 Thread Kirk Wolf
On Fri, Apr 8, 2011 at 11:20 AM, Robert Raicer r...@raicer.com wrote: What Paul points out is not done only by Java VMs. Members on this list might remember the z compatible machine built by PSI (Platform Solutions, Inc). Ron Hilton from PSI gave a presentation at SHARE in August 2004

Re: ASM vs HLL (Was: CPU: ASSM vs ENTERPRISE COBOL - SOLVED!)

2011-04-07 Thread Kirk Wolf
programmer has lots more of it to spend optimizing the rest of the system. Kirk Wolf Dovetailed Technologies http://dovetail.com

Re: CPU: ASSM vs ENTERPRISE COBOL

2011-04-05 Thread Kirk Wolf
module text) and apply optimizations to it? Maybe it could even dissect code into pieces for enclave-mode SRBs :-) Kirk Wolf Dovetailed Technologies http://dovetail.com PS If Metal-C were extended to (somehow) directly support existing bi-modal BAL-PL/x macros, there would be very little need for us

Assembler XPLINK parameters 3

2011-02-07 Thread Kirk Wolf
I'm having a bit of trouble decoding the information on how to get the paramters in a called 31-bit XPLINK assembler program. I'm doing the following, but its not giving me correct values for parms 4-5. MYFUNC EDCXPRLG BASEREG=NONE,PARMWRDS=5 USING DSA,R4 LMR8,R9,PARM4

Re: Eclipse Assembler syntax plugin (was: z390 ...)

2011-01-22 Thread Kirk Wolf
Martin, Maybe this would help: http://wiki.eclipse.org/Xtext http://wiki.eclipse.org/XtextKirk Wolf Dovetailed Technologies On Sat, Jan 22, 2011 at 7:12 AM, Martin Packer martin_pac...@uk.ibm.comwrote: Kirk, all I'd be interested: I have a small amount of plugin development experience

Re: Eclipse Assembler syntax plugin (was: z390 ...)

2011-01-22 Thread Kirk Wolf
Actually, this might be the easy way to go: http://colorer.sourceforge.net/eclipsecolorer/index.html (which uses this:) http://colorer.sourceforge.net/ Kirk Wolf Dovetailed Technologies http://dovetail.com On Sat, Jan 22, 2011 at 11:35 AM, Kirk Wolf k...@dovetail.com wrote: Martin, Maybe

Re: ISPF PF Keys (was: Eclipse Assembler syntax plugin)

2011-01-21 Thread Kirk Wolf
Just demonstrating how this is done (changing the thread subject :-) On Fri, Jan 21, 2011 at 2:26 PM, Michael McCawley mike_...@hotmail.comwrote: Mostly, that there is no HOME key to return you quickly to the command line at bottom You can HOME and TAB back twice, or take your hands off the

Eclipse Assembler syntax plugin (was: z390 ...)

2011-01-20 Thread Kirk Wolf
(like the CDT editor plugin for C/C++). Even cooler if it did a first-pass assembly check-out using your tool as you type, like Java :-) Kirk Wolf Dovetailed Technologies http://dovetail.com PS Many will find it heresy not to use ISPF, but we have found that we like to do all of our development

Re: Cost Effective Assembler Application Programming classes begin Feb. 14 2011‏

2011-01-07 Thread Kirk Wolf
Ah, the limited effectiveness of sarcasm in email has bitten you :-) I agree with both John's sentiment and Steve's sarcasm. As long as it is not abused, occasional promotion seems fine to me. I found this announcement (and most commercial announcements here and on IBM-MAIN) as much more

Re: Efficient Memory List

2010-08-25 Thread Kirk Wolf
Sorry if this has already been suggested, but good algorithms (for different criteria) are best discussed in Knuth: v3, sorting and searching On Aug 25, 2010 1:30 PM, Bill Fairchild bi...@mainstar.com wrote: 128K pointers, each of which is 8 bytes long, require 1MB of virtual storage. If there

TTR of first block of PDS member after OPEN

2010-06-27 Thread Kirk Wolf
If you allocate a DD to a PDS member and then OPEN it (using BSAM), is there a way to get the TTR of the first block of the member after open? Sure, I could read the first block, then do a NOTE, and then POINT back, but what if it is open for WRITE or if it is empty Thanks, Kirk Wolf