C++ to Assembly
-
I downloaded a program that simulates a UNIVAC computer and I wrote some code for it in C++ and I tried loading it as a servo. Can someone post the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files. THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE. -------------------------- Eric I still need to learn C++! --------------------------
-
I downloaded a program that simulates a UNIVAC computer and I wrote some code for it in C++ and I tried loading it as a servo. Can someone post the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files. THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE. -------------------------- Eric I still need to learn C++! --------------------------
NO. but less seriously, I don't understand what you are trying to do ? I assume the simulator reads some sort of UNIVAC language, and me think it's not x86 assembly; and more important, if it's a real UNIVAC simulator, I think it would be very hard to do C++ on it, even if could translate the C++ language to UNIVAC language it would be SOOO big that it would be useless.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
I downloaded a program that simulates a UNIVAC computer and I wrote some code for it in C++ and I tried loading it as a servo. Can someone post the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files. THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE. -------------------------- Eric I still need to learn C++! --------------------------
I honestly have no idea what you are talking about. Please give some hints so that we can help you.
Tuotrut wrote:
I downloaded a program that simulates a UNIVAC computer
Where did you download it from ?
Tuotrut wrote:
I tried loading it as a servo
What is a servo ?
Tuotrut wrote:
the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files
Which assembly code ? For what purposes ? for which plateform ? What yre the files you are talking about ? Are you aware that a .obj is already compiled and that you usually do not edit it per hand ?
Tuotrut wrote:
THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE.
Which cpp file ? I think that you can rename a file extension by yourself, don't you ? ~RaGE();
-
I downloaded a program that simulates a UNIVAC computer and I wrote some code for it in C++ and I tried loading it as a servo. Can someone post the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files. THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE. -------------------------- Eric I still need to learn C++! --------------------------
-
I honestly have no idea what you are talking about. Please give some hints so that we can help you.
Tuotrut wrote:
I downloaded a program that simulates a UNIVAC computer
Where did you download it from ?
Tuotrut wrote:
I tried loading it as a servo
What is a servo ?
Tuotrut wrote:
the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files
Which assembly code ? For what purposes ? for which plateform ? What yre the files you are talking about ? Are you aware that a .obj is already compiled and that you usually do not edit it per hand ?
Tuotrut wrote:
THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE.
Which cpp file ? I think that you can rename a file extension by yourself, don't you ? ~RaGE();
Rage wrote:
Where did you download it from ?
I downloaded it from Simtel.net.
Rage wrote:
What is a servo ?
I don't realy know. It's probaly some UNIVAC command that fell off the face of the earth.
Rage wrote:
Which assembly code ? For what purposes ? for which plateform ? What yre the files you are talking about ? Are you aware that a .obj is already compiled and that you usually do not edit it per hand ?
Standard assembly code, standard purposes, Intel, I just want it translated from C++ to Standard Assembly, I don't want you to edit the .obj file by hand but I want you to translate it into assembly and compile it in an Assembly compiler that will create a .obj file, and I can tell you where to get an assembly compiler to.
Rage wrote:
Which cpp file ? I think that you can rename a file extension by yourself, don't you ?
Of course I can but I want some one who knows Assembly and C++ to translate it from C++ into Assembly and then post it on the the fourms under this topic and about the C++ file, I will post it when someone wants to trasnslate it for me. -------------------------- Eric I still need to learn C++! --------------------------
-
Rage wrote:
Where did you download it from ?
I downloaded it from Simtel.net.
Rage wrote:
What is a servo ?
I don't realy know. It's probaly some UNIVAC command that fell off the face of the earth.
Rage wrote:
Which assembly code ? For what purposes ? for which plateform ? What yre the files you are talking about ? Are you aware that a .obj is already compiled and that you usually do not edit it per hand ?
Standard assembly code, standard purposes, Intel, I just want it translated from C++ to Standard Assembly, I don't want you to edit the .obj file by hand but I want you to translate it into assembly and compile it in an Assembly compiler that will create a .obj file, and I can tell you where to get an assembly compiler to.
Rage wrote:
Which cpp file ? I think that you can rename a file extension by yourself, don't you ?
Of course I can but I want some one who knows Assembly and C++ to translate it from C++ into Assembly and then post it on the the fourms under this topic and about the C++ file, I will post it when someone wants to trasnslate it for me. -------------------------- Eric I still need to learn C++! --------------------------
If you don't know exactly what you are writing about, imagine us trying to figure out want you want to do, please explain what you really want to do. I don't think that you can "mecanically" generate a textual assembly listing for a C++ file, and I would think that it would take at least thousands of line of assembly to do simple stuff; and will be intelligible. why do you want to have an assembly listing ? for educational purpose ? to use it in your UNIVAC simulator ? if so, it will not work; it's a different instruction set.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
If you don't know exactly what you are writing about, imagine us trying to figure out want you want to do, please explain what you really want to do. I don't think that you can "mecanically" generate a textual assembly listing for a C++ file, and I would think that it would take at least thousands of line of assembly to do simple stuff; and will be intelligible. why do you want to have an assembly listing ? for educational purpose ? to use it in your UNIVAC simulator ? if so, it will not work; it's a different instruction set.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
If you don't know exactly what you are writing about, imagine us trying to figure out want you want to do, please explain what you really want to do. I don't think that you can "mecanically" generate a textual assembly listing for a C++ file, and I would think that it would take at least thousands of line of assembly to do simple stuff; and will be intelligible. why do you want to have an assembly listing ? for educational purpose ? to use it in your UNIVAC simulator ? if so, it will not work; it's a different instruction set.
Maximilien Lincourt Your Head A Splode - Strong Bad
I want it for educational purpose and to use it in my UNIVAC simulator. Sorry about the other message I accidently posted the other message, but I still want you to read it.:rolleyes: -------------------------- Eric I still need to learn C++! --------------------------
-
Can someone give me a listing or guide of Assembly Commands? -------------------------- Eric I still need to learn C++! --------------------------
-
:wtf::omg: for educational purpose ? :~ I lime pits pupils !!!
TOXCCT >>> GEII power
[toxcct][VisualCalc 2.20][VCalc 3.0 soon...] -
Can someone give me a listing or guide of Assembly Commands? -------------------------- Eric I still need to learn C++! --------------------------
There is a switch in VC that will output intel assmbly code. I have no Idea how this will help you with a UNIVAC which I know will not use Intel assembly but the switch is in the project settings. I would tell you the switch location but this depends on your version of VC. John