Board index » off-topic » inline asm error in cbuilder 6 + patch 4
Alex Kim
Delphi Developer |
inline asm error in cbuilder 6 + patch 42003-08-04 12:08:57 PM off-topic6 Hello ~ Usually I use MS VC6 and MASM 8 . I can compile below source code... But I use boland c++builder 6 + patch 4 to use that source code... I have errors.. [C++ Error] my_asm.c(431): E2451 Undefined symbol 'Lcase0' [C++ Error] my_asm.c(431): E2451 Undefined symbol 'Lcase1' I think bcb can't know Lcase0.. So How can I do? I define it before mov Ljmptab?? Please Help me..~~~ thanks to read... __asm { push ebx cmp bops_initialized, 1 je initialized mov bops_initialized, 1 mov Ljmptab[0*4], offset Lcase0 mov Ljmptab[1*4], offset Lcase1 initialized: mov edx,ds:dword ptr[4+12+esp] jmp dword ptr[Ljmptab+eax*4] Lcase0: fmul ds:dword ptr[ebx] fld ds:dword ptr[0+8+edx] |