Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rochester!kodak!gardos From: gardos@kodak.UUCP (tom gardos) Newsgroups: net.unix-wizards Subject: assembler "out" in IBM XENIX Message-ID: <292@kodak.UUCP> Date: Mon, 7-Apr-86 13:53:46 EST Article-I.D.: kodak.292 Posted: Mon Apr 7 13:53:46 1986 Date-Received: Thu, 10-Apr-86 00:32:50 EST Reply-To: gardos@kodak.UUCP (tom gardos) Organization: Eastman Kodak Co., Rochester, NY Lines: 24 Keywords: XENIX, out, I/O, Device Driver I am writing a device driver for the IBM XENIX operating system. The device driver calls an assembler routine. The assembler routine sends data to an I/O port using the following form: mov dx, PORT_ADDRESS mov ax, DATA_VALUE out dx,ax However, upon execution the system crashes and the following message appears on the console: TRAP 000D in SYSTEM (registers are dumped here) panic: general protection trap Any ideas as to what is causing this error? It has me stumped. Thanks, Tom Gardos, MPAVD, Eastman Kodak Co. -- Tom Gardos