One approach is to use a
C++ editor, like
Visual Studio C++ for example (the express edition is free).
By using the
__asm
keyword you can write assembly code inside your
C++ function and this will also give you neat things like the ability to use the debugger and breakpoints.
A simple assembly program written in
C++ could look something like this:
int main(int argc, char *argv[])
{
__asm
{
mov ax, 0
add ax, 1
}
return 0;
}
Note that this approach is convenient for learning assembly but might not be applicable to your scenario, refer to
this list[
^] for a bunch of links to different assemblers.
Hope this helps,
Fredrik Bornander