| delorie.com/archives/browse.cgi | search |
| From: | a2o1 AT my-dejanews DOT com |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | SIGSERV Error |
| Date: | Sat, 24 Apr 1999 15:29:57 GMT |
| Organization: | Deja News - The Leader in Internet Discussion |
| Lines: | 17 |
| Message-ID: | <7fso1i$6of$1@nnrp1.dejanews.com> |
| NNTP-Posting-Host: | 209.103.51.8 |
| X-Article-Creation-Date: | Sat Apr 24 15:29:57 1999 GMT |
| X-Http-User-Agent: | Mozilla/4.51 [en] (Win95; I) |
| X-Http-Proxy: | 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 209.103.51.8 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I'm trying to learn assembly (AT&T) and I finally got a (what I thought was)
simple switch screen code:
__asm__ __volatile__("
movl $13, %%ax\n
int $10\n
);
This compiles fine with: gcc -g foo.cc -o foo.exe
but when I run the program I get a SIGSERV error... This also occured with
some code that I had downloaded for the Intel Assembly and converted to AT&T
(It was a drawing routine). Help!!!
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |