Solved

C++ to Assembly

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

910 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

19 Experts available now in Live!

Get 1:1 Help Now