This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
asm problem
- From: anantaneja at fastmail dot fm
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 15 Feb 2003 02:52:05 -0800
- Subject: 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