🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.asm370
14 messages
14 total messages Started by Rich Greenberg Thu, 02 Apr 1998 00:00
HLASM dissasembler
#991
Author: Rich Greenberg
Date: Thu, 02 Apr 1998 00:00
10 lines
957 bytes
I have heard that a good dissasembler is included with the HLASM,
but I have no docs on it.

Is it seperately installed, and how does one get to it?  (VM)
-- 
Rich Greenberg    Work:  PM0RMG atsign WSPVM1.worldspan.com   770-563-6656
N6LRT   Marietta, GA, USA   Play: richgr atsign netcom.com    770-321-6507
Eastern time.    I speak for myself & my dogs only.        VM'er since CP-67
Canines:Val(Chinook,CGC,TT),Red(Husky,(RIP)),Shasta(Husky,TT) Owner:Chinook-L
Re: HLASM dissasembler
#992
Author: John Chase
Date: Thu, 02 Apr 1998 00:00
14 lines
1048 bytes
Rich Greenberg wrote:
> 
> I have heard that a good dissasembler is included with the HLASM,
> but I have no docs on it.
> 
> Is it seperately installed, and how does one get to it?  (VM)

It's in the HLASM Toolkit, which I *think* is a separate (chargeable?)
"feature".  Carries the same PRODNO as HLASM (5696-234 for v1r2), at
least on OS/390.  I haven't tried it out yet...

John Chase
NOTIS Development & Support
Re: HLASM dissasembler
#993
Author: Bill Lynch
Date: Thu, 02 Apr 1998 00:00
40 lines
2352 bytes
Rich Greenberg wrote:
> 
> I have heard that a good dissasembler is included with the HLASM,
> but I have no docs on it.
> 
> Is it seperately installed, and how does one get to it?  (VM)
> --
Funny you should ask, I've been experimenting with it just the last
couple of weeks. The program name is ASMDASM (I'd guess it's available
if HLASM is installed). The doc for it is in BKMGR. JCL is simple, just
note that the SYSLIB input dataset cannot be concatenated (if the module
you name isn't in the first one, it's not found). From memory (forgive
me if I've forgotten something):

//       EXEC  PGM=ASMDASM,PARM=COPYRIGHTOK
//SYSLIB  DD  DSN=...
//SYSPRINT DD  SYSOUT=...
//SYSPUNCH DD  ...
load_module_name CSECT_name
(optional control cards)

There are several types of control cards, e.g., to specify program or
DSECT base registers, to direct the disassembler to treat a specified
block of code as DATA or INSTRuctions, etc. It's all in the doc. The
listing, of course, goes to SYSPRINT. The disassembled source code is
written to SYSPUNCH. IBM suggests that you make SYSPUNCH DUMMY for the
first run, until you get a chance to look at the output and see if you
want to add any control cards. I left is assigned to SYSOUT=* and
deleted what I didn't want.

Email/post if you have any further questions, I'll try to remember to
get the real JCL & to post it here.

Bill Lynch

> Rich Greenberg    Work:  PM0RMG atsign WSPVM1.worldspan.com   770-563-6656
> N6LRT   Marietta, GA, USA   Play: richgr atsign netcom.com    770-321-6507
> Eastern time.    I speak for myself & my dogs only.        VM'er since CP-67
> Canines:Val(Chinook,CGC,TT),Red(Husky,(RIP)),Shasta(Husky,TT) Owner:Chinook-L
Re: HLASM dissasembler
#994
Author: Bob Rutledge
Date: Thu, 02 Apr 1998 00:00
17 lines
1267 bytes
Bill Lynch wrote:
<snip>
> Funny you should ask, I've been experimenting with it just the last
> couple of weeks. The program name is ASMDASM (I'd guess it's available
> if HLASM is installed). The doc for it is in BKMGR. JCL is simple, just
> note that the SYSLIB input dataset cannot be concatenated (if the module
> you name isn't in the first one, it's not found). From memory (forgive
> me if I've forgotten something):
> 
<snip>

It is part of the HLASM Toolkit, a separately-priced feature of HLASM.

It looks a lot like the old DISASM from the CBT tape.

Bob
Re: HLASM dissasembler
#995
Author: Bill Lynch
Date: Thu, 02 Apr 1998 00:00
37 lines
2094 bytes
Bill Lynch wrote:
(snip)

The JCL, as promised (I did notice that Rich is using VM, I assume he
can translate the MVC JCL to the appropriate VM commands):

//S1   EXEC  PGM=ASMDASM,
//          PARM=COPYRIGHTOK
//SYSPRINT  DD  SYSOUT=*
//SYSLIB    DD  DISP=SHR,DSN=MY.TEST.LOADLIB
//SYSPUNCH  DD  SYSOUT=V,FREE=CLOSE
WBLS037 WBLS037
USING 000000 001000 3 P 000000
USING 001000 001000 4 P 001000

ASMDASM contains logic which scans the load module for any form of the
word "Copyright". If it finds one and you have not specified
"COPYRIGHTOK" in the PARM field, it quits. 

The two USING control cards tell ASMDASM to use R3 & R4 as the base
registers for the program, in that order. 

One note: when I tried the "INSTR" command, which directs the
disassembler to decode a particular block of the load module as
instructions (as opposed to the possibility of it's being data), I got
an error saying that the end offset was greater than the beginning
offset. This required a PTF to fix - I'm sure I could get the PTF no. if
anyone needs it. I needed to specify INSTR because ASMDASM had
interpreted some instructions as data, which threw off its instruction
counter when it resumed. It generated some very interesting
instructions, including a "MC", which generated an error when assembled. 

Thanks to whoever posted that the HLASM toolkit is separately priced, I
wasn't aware that it was.

Bill Lynch
Re: HLASM dissasembler
#996
Author: R. J. (Bob) Eltgroth
Date: Thu, 02 Apr 1998 00:00
21 lines
1329 bytes
Rich Greenberg wrote:
> 
> I have heard that a good dissasembler is included with the HLASM,
> but I have no docs on it.
>

The doc you need can be found at http://ppdbooks.pok.ibm.com
Search on HLASM and then look at the Toolkit Feature User's Guide.  It's
in the HLASM V1R2.0 Bookshelf.  I have the bookshelf on my OS/390 CD's. 
I don't have VM CD's to check.
 
> Is it seperately installed, and how does one get to it?  (VM)
> --

It's a separately ordered feature that is available under CMS as well as
VSE and MVS.  The manual is common for MVS/VM/VSE.  Under CMS you can
only disassemble an object module.  Under MVS it will also handle a load
module.

Bob Eltgroth
Re: HLASM dissasembler (ANY disassembler)
#997
Author: Arnold Trembley
Date: Sat, 11 Apr 1998 00:00
52 lines
2764 bytes
driker2 wrote:
> 
> Bill Lynch wrote:
> >
> > Bill Lynch wrote:
> > (snip)
> >
> > The JCL, as promised (I did notice that Rich is using VM, I assume he
> > can translate the MVC JCL to the appropriate VM commands):
> >
> > //S1   EXEC  PGM=ASMDASM,
> > //          PARM=COPYRIGHTOK
> > //SYSPRINT  DD  SYSOUT=*
> > //SYSLIB    DD  DISP=SHR,DSN=MY.TEST.LOADLIB
> > //SYSPUNCH  DD  SYSOUT=V,FREE=CLOSE
> > WBLS037 WBLS037
> > USING 000000 001000 3 P 000000
> > USING 001000 001000 4 P 001000
> >
> > ASMDASM contains logic which scans the load module for any form of the
> > word "Copyright". If it finds one and you have not specified
> > "COPYRIGHTOK" in the PARM field, it quits.
> >
> > The two USING control cards tell ASMDASM to use R3 & R4 as the base
> > registers for the program, in that order.
> >
> > One note: when I tried the "INSTR" command, which directs the
> > disassembler to decode a particular block of the load module as
> > instructions (as opposed to the possibility of it's being data), I got
> > an error saying that the end offset was greater than the beginning
> > offset. This required a PTF to fix - I'm sure I could get the PTF no. if
> > anyone needs it. I needed to specify INSTR because ASMDASM had
> > interpreted some instructions as data, which threw off its instruction
> > counter when it resumed. It generated some very interesting
> > instructions, including a "MC", which generated an error when assembled.
> >
> > Thanks to whoever posted that the HLASM toolkit is separately priced, I
> > wasn't aware that it was.
> >
> > Bill Lynch
> It looks like disasm I wrote and modified for naspa/ CBT tape in 1985.

Is there any place where I can find a downloadable 370 disassembler of
any vintage?

Thanks in Advance!

Arnold Trembley
Software Engineer I (just a job title, still a COBOL programmer)
MasterCard International
"Y2K?  Because Centuries Happen!"
Re: HLASM dissasembler
#998
Author: driker2
Date: Sun, 12 Apr 1998 00:00
40 lines
2382 bytes
Bill Lynch wrote:
> 
> Bill Lynch wrote:
> (snip)
> 
> The JCL, as promised (I did notice that Rich is using VM, I assume he
> can translate the MVC JCL to the appropriate VM commands):
> 
> //S1   EXEC  PGM=ASMDASM,
> //          PARM=COPYRIGHTOK
> //SYSPRINT  DD  SYSOUT=*
> //SYSLIB    DD  DISP=SHR,DSN=MY.TEST.LOADLIB
> //SYSPUNCH  DD  SYSOUT=V,FREE=CLOSE
> WBLS037 WBLS037
> USING 000000 001000 3 P 000000
> USING 001000 001000 4 P 001000
> 
> ASMDASM contains logic which scans the load module for any form of the
> word "Copyright". If it finds one and you have not specified
> "COPYRIGHTOK" in the PARM field, it quits.
> 
> The two USING control cards tell ASMDASM to use R3 & R4 as the base
> registers for the program, in that order.
> 
> One note: when I tried the "INSTR" command, which directs the
> disassembler to decode a particular block of the load module as
> instructions (as opposed to the possibility of it's being data), I got
> an error saying that the end offset was greater than the beginning
> offset. This required a PTF to fix - I'm sure I could get the PTF no. if
> anyone needs it. I needed to specify INSTR because ASMDASM had
> interpreted some instructions as data, which threw off its instruction
> counter when it resumed. It generated some very interesting
> instructions, including a "MC", which generated an error when assembled.
> 
> Thanks to whoever posted that the HLASM toolkit is separately priced, I
> wasn't aware that it was.
> 
> Bill Lynch
It looks like disasm I wrote and modified for naspa/ CBT tape in 1985.
Re: HLASM dissasembler
#999
Author: Bill Lynch
Date: Sun, 12 Apr 1998 00:00
15 lines
1203 bytes
driker2 wrote:
> 
(snippage)
> It looks like disasm I wrote and modified for naspa/ CBT tape in 1985.

I'd bet my own money that you're right. I've heard that it is the
disassembler from the CBT tape, packaged & documented as an IBM product.

Maybe you could explain how it decides what's data and what's code? I
disassembled a COBOL II program and ended up with a section decoded as
data, then had an invalid "MC" instruction. Curious how it decides.

TIA,
Bill Lynch
Re: HLASM dissasembler (ANY disassembler)
#1000
Author: Bill Lynch
Date: Sun, 12 Apr 1998 00:00
21 lines
1316 bytes
Arnold Trembley wrote:
> 
(snip)
> 
> Is there any place where I can find a downloadable 370 disassembler of
> any vintage?

It seems as though NaSPA has/had one on their CBT tape. Probably not too
hard to find one. If you really get stuck you could try Sam Golub
(sorry, don't have his email address, but he posts in these NGs).

Bill Lynch

> 
> Thanks in Advance!
> 
> Arnold Trembley
> Software Engineer I (just a job title, still a COBOL programmer)
> MasterCard International
> "Y2K?  Because Centuries Happen!"
Re: HLASM dissasembler (ANY disassembler)
#1001
Author: Gilbert Saint-flour
Date: Sun, 12 Apr 1998 00:00
21 lines
1520 bytes
In <6gphau$t68@bgtnsc02.worldnet.att.net>, on 04/11/98 at 11:53 PM, Arnold
Trembley <arnold.trembley@worldnet.att.net> said:

>Is there any place where I can find a downloadable 370 disassembler of
>any vintage?

The best (free) disassembler is REASM, which is in files 238 to 242 of the
CBT tape.  If you're a NASPA member, you can download it from their FTP
site (anonymous downloads used to work but they "fixed" that).

REASM is an ISPF-based disassembler written in PL/1.  You control the
disassembly process using primary commands and line commands, like you do
in PDF EDIT.  Although it has its share of bugs, REASM is a whole lot more
convenient than old-style disassemblers which require you to punch control
cards!  Highly recommended.

REASM's author is now building a business around its product, see
http://www.reasm.com.

Gilbert Saint-flour
Re: HLASM dissasembler
#1002
Author: Edward E. Jaffe
Date: Mon, 13 Apr 1998 00:00
20 lines
1723 bytes
Bill Lynch (wblynch@worldnet.att.net) wrote:
: driker2 wrote:
: > 
: (snippage)
: > It looks like disasm I wrote and modified for naspa/ CBT tape in 1985.

: I'd bet my own money that you're right. I've heard that it is the
: disassembler from the CBT tape, packaged & documented as an IBM product.

This is a rather serious charge and should not be made lightly.  Where did
this rumor get started?  Is there any real evidence to support the claim
that IBM plagiarized this product? 

-- 
| Edward E. Jaffe                | Voice:       (310) 338-0400 x318    |
| Mgr, Research & Development    | Facsimile:   (310) 338-0801         |
| Phoenix Software International | Internet:    edjaffe@netcom.com     |
| 9841 Airport Blvd, Suite 700   | IBM Mail:    USS24J24 at IBMMAIL    |	
| Los Angeles, CA 90045          | Web page:    www.phnxsoftware.com   |
Re: HLASM dissasembler
#1003
Author: Bill Lynch
Date: Mon, 13 Apr 1998 00:00
28 lines
1888 bytes
Edward E. Jaffe wrote:
> 
> Bill Lynch (wblynch@worldnet.att.net) wrote:
> : driker2 wrote:
> : >
> : (snippage)
> : > It looks like disasm I wrote and modified for naspa/ CBT tape in 1985.
> 
> : I'd bet my own money that you're right. I've heard that it is the
> : disassembler from the CBT tape, packaged & documented as an IBM product.
> 
> This is a rather serious charge and should not be made lightly.  Where did
> this rumor get started?  Is there any real evidence to support the claim
> that IBM plagiarized this product?
> 

My understanding is that they bought it & packaged it as a product. I
was not suggesting that they'd plagiarized it, sorry for the confusion.

Bill Lynch

> --
> | Edward E. Jaffe                | Voice:       (310) 338-0400 x318    |
> | Mgr, Research & Development    | Facsimile:   (310) 338-0801         |
> | Phoenix Software International | Internet:    edjaffe@netcom.com     |
> | 9841 Airport Blvd, Suite 700   | IBM Mail:    USS24J24 at IBMMAIL    |
> | Los Angeles, CA 90045          | Web page:    www.phnxsoftware.com   |
Re: HLASM dissasembler
#1004
Author: Bill Lynch
Date: Mon, 13 Apr 1998 00:00
59 lines
2825 bytes
Edward E. Jaffe wrote:
> 
> Bill Lynch (wblynch@worldnet.att.net) wrote:
> : driker2 wrote:
> : >
> : (snippage)
> : > It looks like disasm I wrote and modified for naspa/ CBT tape in 1985.
> 
> : I'd bet my own money that you're right. I've heard that it is the
> : disassembler from the CBT tape, packaged & documented as an IBM product.
> 
> This is a rather serious charge and should not be made lightly.  Where did
> this rumor get started?  Is there any real evidence to support the claim
> that IBM plagiarized this product?
> 
I searched DejaNews and found the following post from Andy Wood:

  -----------------  begin quoted material  ----------------------

"Subject:      Re: Reverse engineer a LOAD module
From:         agwood@ibm.net (Andy Wood)
Date:         1998/03/21
Message-ID:   <35141ea3.2343594@news-s01.ny.us.ibm.net>
Newsgroups:   bit.listserv.ibm-main

[Subscribe to bit.listserv.ibm-main] 
[More Headers]


Alan Field <alan.field@SUPERVALU.COM> wrote:

>The HIGH LEVEL ASSEMBLER toolkit also contains a disassember which works
>pretty much like the one on the CBT tape.
>
>Alan

Kind of interesting just how similar the IBM disassembler is to the
CBT one. Even down to the comments produced for SVCs, which in some
cases are a bit inaccurate or dated.


Andy Wood
agwood@ibm.net

  --------------------  end quoted material  --------------------------

Perhaps I stated things too strongly when I said I thought IBM's
disasembler was the NaSPA product. As I said before, sorry for any
confusion on this, I wasn't implying that anything had been plagiarized.

Bill Lynch

> --
> | Edward E. Jaffe                | Voice:       (310) 338-0400 x318    |
> | Mgr, Research & Development    | Facsimile:   (310) 338-0801         |
> | Phoenix Software International | Internet:    edjaffe@netcom.com     |
> | 9841 Airport Blvd, Suite 700   | IBM Mail:    USS24J24 at IBMMAIL    |
> | Los Angeles, CA 90045          | Web page:    www.phnxsoftware.com   |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads