This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

asm problem


i wrote a program :

void main()
{
asm (int $0x19);
}

compiled and linked with
g++ <filename>

and ran a.out to get
Segmentation Fault(<somethin here i dont remember>)

I think the above code must start a warm boot (uses the Rom Bios 
interuppt 0x19).

whats the pronlem ?

Anant




-- 
  
  anantaneja@fastmail.fm

-- 
http://fastmail.fm - Choose from over 50 domains or use your own


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]