Hi I woul like to set a label in C++:

%_asm% {
label1:
JMP label2
...
label2:

}

is it also possible to call apifunktions with inline Assembler ?

Deep greetz BBB
Posted on 2003-07-22 05:35:58 by Bubu-Boy
some time ago i coded inline assembly in borland c++ 3.1. it was not possible to define lables. i just ended the inline-asm-part, defined a lable and then i made a new inline-assembly. it looked like this:



asm{
jmp lable
:
:
}
lable:
asm{
;the rest of the code
:
:
}

or you just write asm in front of every instruction:


asm ;code
asm jmp lable
lable:
asm ;code
asm ;code
Posted on 2003-07-22 06:36:45 by hartyl