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
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