🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #210

gas-1.92.3 crashes when given unusual 'movc' instruction

#210
From: steveu
Date: Thu, 06 Aug 1992 05:02
19 lines
1102 bytes
The following assembler line causes gas-1.92.3 to crash:

	movc a0,#0x806	  | hardcode the 68040 'User Root Pointer' register

The assembler is built as a 68K cross-assembler, and runs on a Sun-4, 
running SunOS 4.1.1.

Neither gas-1.35 and gas-1.38 can assemble this instruction.  Both produce 
the message:

	FATAL:Internal error:  Unknown mode #j

Admittedly, the 'movec' instruction isn't required to be able to accept
an arbitrary numeric argument in place of a named control register, but
the feature can come in handy when trying to use gas with processors
which gas doesn't yet fully support.

----------
Steve Ulrich   Tektronix   Beaverton, OR  steveu@tasha.tv.tek.com
Technical Details
Message-ID: <199208061902.AA16935@tasha.tv.tek.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!tv.tv.tek.COM!steveu

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!tv.tv.tek.COM!steveu
From: steveu@tv.tv.tek.COM
Subject: gas-1.92.3 crashes when given unusual 'movc' instruction
Message-ID: <199208061902.AA16935@tasha.tv.tek.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 6 Aug 1992 05:02:56 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 20