468,478 Members | 2,392 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,478 developers. It's quick & easy.

TD32 error - "Stopped on exception throw"

Hi. I am trying to perform some inline assembly language programming in C.
I am currently using Windows Vista. The following code is compiled & assembled using bcc32.exe & tasm32.exe and linked using ilink32.exe.

Expand|Select|Wrap|Line Numbers
  1. #include<stdio.h>
  2.  
  3. main()
  4. {
  5.     asm {        
  6.         mov eax, 1000h;
  7.         mov ecx, 89h;
  8.         mov ecx, [eax];
  9.     }
  10.  
  11.     return 0;
  12. }
  13.  
When I execute the code in TD32, the statement "mov ecx,[eax];" generates a message "Stopped on exception throw". No other data is provided by TD32. The execution of the program is then terminated.

Why is this message being displayed?
Dec 16 '07 #1
0 923

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Chris Newcombe | last post: by
22 posts views Thread by Brett | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.