🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2756

another fatal signal

#2756
From: Larry Smith
Date: Thu, 14 Dec 1989 18:09
24 lines
954 bytes
Why didn't I gather these up all at once?

The first also caused the error #6; the second did not.
----------------cut here----------------
struct tty_device {
  char data, ignore1, command;
};

extern struct tty_device 
     TTY_A, /* = 0X600000 in PROM.s */
     TTY_B; /* = 0X600004 in PROM.s */

extern char ttyAcommand;
main() 
{  char c;
   asm("moveb %1,%0" : "o" (TTY_A.command) : "i" (0) );
}
----------------cut here----------------
extern char ttyAcommand;
main() 
{  char c;
   asm("moveb %1,%0" : "o" (ttyAcommand) : "i" (0) );
}
----------------cut here----------------
Technical Details
Message-ID: <8912141809.AA24445@anderson.CLI.COM>
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!CLI.COM!lsmith

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!CLI.COM!lsmith
From: lsmith@CLI.COM (Larry Smith)
Newsgroups: gnu.gcc.bug
Subject: another fatal signal
Message-ID: <8912141809.AA24445@anderson.CLI.COM>
Date: 14 Dec 89 18:09:59 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24