Solved

C++ to Assembly

Posted on 1998-10-31
4
338 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now