From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MB7c0-0002se-Bx for qemu-devel@nongnu.org; Mon, 01 Jun 2009 09:31:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MB7bu-0002ph-JX for qemu-devel@nongnu.org; Mon, 01 Jun 2009 09:31:35 -0400 Received: from [199.232.76.173] (port=46598 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB7bu-0002pI-7Z for qemu-devel@nongnu.org; Mon, 01 Jun 2009 09:31:30 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56483) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MB7bt-0005gC-9R for qemu-devel@nongnu.org; Mon, 01 Jun 2009 09:31:29 -0400 Message-ID: <4A23D7B0.9050706@redhat.com> Date: Mon, 01 Jun 2009 16:29:20 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Add ARM920T to ARM emulation References: <1243603405-12989-1-git-send-email-vince@simtec.co.uk> <200905292305.28740.paul@codesourcery.com> <20090601113512.GA16957@shareable.org> <200906011313.49802.paul@codesourcery.com> In-Reply-To: <200906011313.49802.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Vincent Sanders , qemu-devel@nongnu.org Paul Brook wrote: > B is a direct branch that never changes mode. BX is an indirect branch that > mode switches based on the low address bit. > BL and BLX(register) are exactly the same as B/BX except they also set LR. > BLX(immediate) is a direct mode switching call. > loads into the PC either ignore(v4t) or mode switch (v5) on the low address > bit. > ALU writes to the PC always ignore the low bit in Thumb mode. In ARM mode the > low bit is either ignored(v6) or used to mode switch (v7). > > BX was introduced in v4t, BLX was introduced in v5. > Does no sane instruction set exist? -- error compiling committee.c: too many arguments to function