asm problem

anantaneja@fastmail.fm anantaneja@fastmail.fm
Sat Feb 15 10:52:00 GMT 2003


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



More information about the Gcc-help mailing list