ASM keyword in C language
When we use ASM keyword in C language we can execute assembly code throw C but if we modify any register value then the code is comlplede not executed why.
if we compile
void main()
{
asm{
INT18
}
}
This code is comlied but not executed. You know it is interept
other interept are also not executed why? Various tools and software also modify or tranfer the values in register but they are executed easily
[b]Question asked by visitor Sharad singh[/b]
Re: ASM keyword in C language
[QUOTE=Geek_Guest;16474]When we use ASM keyword in C language we can execute assembly code throw C but if we modify any register value then the code is comlplede not executed why.
if we compile
void main()
{
asm{
INT18
}
}
This code is comlied but not executed. You know it is interept
other interept are also not executed why? Various tools and software also modify or tranfer the values in register but they are executed easily
[b]Question asked by visitor Sharad singh[/b][/QUOTE]
can you give me plz one answer..? you have declared interrupt there after 'asm' keyword..? if yes than there must be a specific vector location for interrupt....you can't write inside the loop..