Solved

C++ to Assembly

Posted on 1998-10-31
4
341 Views
Last Modified: 2010-04-02
Does anyone know if there is a way to convert a .cpp program,using either Borland 5.02 or MS Visual C++ 5, to an assembly program that can be used by an IBM 3270 system?
0
Comment
Question by:churley
4 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1176663
Most C++ compilers will have options to produce assembly output.  If you have a C++ compiler for the IBM computer that does, you could use that.

Forget trying to take the assembly ooutput for an x86 computer and convert it to 3270 assembly.  It would be a huge task.  You would probably be better of starting from scratch
0
 
LVL 8

Expert Comment

by:Answers2000
ID: 1176664
Try and get a __Native__ C++ compiler for your IBM system. Then recompile on this platform.  Forget about trying to compile on your PC.
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1176665
If I were you, I'd purchase a cross-compiler.  They are only about $500 million!!
0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1176666
No, there is not!!  The reason is that the 3270 is NOT a computer but rather a data terminal system.  If you have 3270 type terminals it's likely that they do connect to some type of IBM (or compatible) computer system.  It would probably help if you know what kind it is and what OS it is running.  It could be anything from an RS6000/AIX machine to an AS/400 to a System 370 mainframe.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question