Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Help

Name: Anonymous 2011-01-18 14:31

Can anyone help me?:(
So i have to convert (or something like that) a c++ program into assembly.
The program used will be visual studio.

I would like a tutorial for idiots (like me☻ ) to explain where to put that breakpoint and why...
How to "translate" cout;cin;i++, and stuff like this in assembly code

Something like this
C++ stuff:
Y = 2
Z = 4
...
X = (Y + Z) / 2

ASM stuff
PUSH CX
PUSH BX
...
POP BX
MOV AX, BX
POP BX
ADD AX, BX
MOV CX, 02h
DIV AX, DX

Name: Anonymous 2011-01-18 14:37

c++ program into assembly.
Just add some bloat.

Name: Anonymous 2011-01-18 14:39

Project properties -> Configuration properties -> C/C++ -> Output Files -> Assembler Output = Assembly with source code.

Name: Anonymous 2011-01-18 14:39

i once implemented a sophisticated smalltalk-style oop in assembler using only the EAX register when I was 12

Name: Anonymous 2011-01-18 14:43

>>4
smalltalk-style oop
It's not so difficult to implement message passing.

Name: Anonymous 2011-01-18 14:53

Hahahahaha. Wait, what was the question again?

Name: Anonymous 2011-01-18 15:10


All i need is a tutorial to learn the basic of converting c++ into asm...
I will have to transform a c++ program (something with vectors or matrix) in asm code.

Name: Anonymous 2011-01-18 18:16

OP if you want to make "vidyagaemz" go read SICP.

Don't change these.
Name: Email:
Entire Thread Thread List