CALLING ASSEMBLER FROM C++

Hi everyone, i have a really big problem: I HAVE TO CALL A FUNTION FROM C++ LOCATED IN A COMPILED ASSEMBLER FILE, WITH PARAMETERS AND I HAVE NO IDEA OF HOW TO DO THAT...

If anyone behind a monitor can help me please... id really apretiatte it... thank in advance.

Comments

  • : Hi everyone, i have a really big problem: I HAVE TO CALL A FUNTION FROM C++ LOCATED IN A COMPILED ASSEMBLER FILE, WITH PARAMETERS AND I HAVE NO IDEA OF HOW TO DO THAT...
    :
    : If anyone behind a monitor can help me please... id really apretiatte it... thank in advance.
    :

    Hi there,

    What kind of function do you mean?
    calling assembly in c++

    asm
    {
    mov ax, 4f02h // this means go to a VESA graph mode (parameter)
    int 10h // this is the function that does the graphswitch (function)
    }

    I had some problems activating the asm function in c++ but if you have
    some experience with c++ u'll manage.. (or ask in c++ forum)

    greetz MI-7
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion