Posts by gabriel88766 • 1 point
2 posts
-
0
votes1
answer149
viewsA: How to call function in Assembly inline from code in C and vice versa
Half of the problem was solved after suggestion. How to run Assembly inline in a code with variables in C? In this way it is possible to call a function in C from Assembly inline. #include…
-
0
votes1
answer149
viewsQ: How to call function in Assembly inline from code in C and vice versa
I am using the MASM syntax to make the codes below. I tried with this function, for example: __asm( "soma:\n" "push ebp\n" "mov ebp, esp\n" "mov eax, DWORD PTR[ebp+8]\n" "mov edx, DWORD…