Borland x86 inlined assembler; get a label's address?

前端 未结 12 867
清酒与你
清酒与你 2021-01-05 03:15

I am using Borland Turbo C++ with some inlined assembler code, so presumably Turbo Assembler (TASM) style assembly code. I wish to do the following:

void foo         


        
12条回答
  •  -上瘾入骨i
    2021-01-05 04:03

    Does the Turbo C++ environment have a way to set options for TASM (I know that some of the Borland IDEs did)?

    If so, see if changing the option for "Maximum passes (/m)" to 2 or more helps (it might default to 1 pass).

    Also, if you're using a long label name that might pose a problem - at least one IDE had the default set to 12. Change the "Maximum symbol length (/mv) option".

    This information is based on Borland's RAD Studio IDE:

    • http://docs.codegear.com/docs/radstudio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/devcommon/tasm32_options_xml.html

提交回复
热议问题