Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch.embedded > #30454
| From | Hul Tytus <ht@panix.com> |
|---|---|
| Newsgroups | comp.arch.embedded |
| Subject | Re: Arm registers |
| Date | 2021-04-16 22:12 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <s5d259$fqt$1@reader1.panix.com> (permalink) |
| References | <s5cok2$cfj$1@reader1.panix.com> <XjmeI.33520$nn2.9399@fx48.iad> |
Richard - you've verified that the v7-m processors use both the 16 bit and the 32 bit instructions and for that I thank you. I'm guessing now the Cortex processors, not the v7-m types, are what I should be looking at. Do you know the title of Arm's Architectural Reference Manual for the Cortex versions? Hul Richard Damon <Richard@damon-family.org> wrote: > On 4/16/21 3:30 PM, Hul Tytus wrote: > > sci.electronics.design > > Arm Cortex assembley code > > > > Does the Arm Cortex support both the "thumb" 16 bit machine codes and also > > the 32 bit codes? I had been under the impression that Cortex devices only > > provided the thumb codes but a little time going through "Arm v7-M > > Architecture Reference Manual" indicates otherwise. Whether or not that > > reference manual is suitable for Cortex information needs verification also. > > There may be a more pertinent text available. > > And another question: the thumb instructions show 8 available registers > > rather than 16. However, somewhere on the internet a site states that 16 > > registers are available & which group of 8 varies with the "processor state". > > Any suggestions on an Arm manual or text that defines "processor state"? The > > CPS (change processor state) machine code description in the "Arm v7-M > > Architecture Reference Manual" doesn't mention register groups. > > > > Hul > > > Thumb instructions can be 16 or 32 bit, the 32 bit instruction are > different than the non-thumb 32-bit mode, which may be the confusion, > and are sometimes called Thumb-2 instructions, as they weren't available > in the first version of the Arm Processors that just had the basic 16 > bit Thumb instructions. > The Arm v7-M processor has 16 32-bit registers, but the top 3 are > special purpose (LR, SP, PC), so only R0-R12 are really general purpose. > Most of the 16-bit thumb instruction can only access R0-R7, (but some > will use the special registers implicitly), to get to the full set of > registers you often need to use a 32-bit Thumb instructions.
Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Arm registers Hul Tytus <ht@panix.com> - 2021-04-16 19:30 +0000
Re: Arm registers Richard Damon <Richard@Damon-Family.org> - 2021-04-16 16:20 -0400
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-16 22:12 +0000
Re: Arm registers Richard Damon <Richard@Damon-Family.org> - 2021-04-16 19:41 -0400
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-17 15:43 +0000
Re: Arm registers Theo <theom+news@chiark.greenend.org.uk> - 2021-04-17 21:45 +0100
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-18 13:57 +0000
Re: Arm registers Theo <theom+news@chiark.greenend.org.uk> - 2021-04-18 16:31 +0100
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-19 21:22 +0000
Re: Arm registers David Brown <david.brown@hesbynett.no> - 2021-04-17 12:43 +0200
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-17 15:53 +0000
Re: Arm registers David Brown <david.brown@hesbynett.no> - 2021-04-17 18:50 +0200
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-17 19:30 +0000
Re: Arm registers David Brown <david.brown@hesbynett.no> - 2021-04-18 15:02 +0200
Re: Arm registers Richard Damon <Richard@Damon-Family.org> - 2021-04-17 13:16 -0400
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-17 19:23 +0000
Re: Arm registers Theo <theom+news@chiark.greenend.org.uk> - 2021-04-17 21:42 +0100
Re: Arm registers Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-04-17 21:09 +0300
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-17 19:38 +0000
Re: Arm registers Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-04-18 11:44 +0300
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-18 14:07 +0000
Re: Arm registers David Brown <david.brown@hesbynett.no> - 2021-04-18 15:10 +0200
Re: Arm registers antispam@math.uni.wroc.pl - 2021-04-17 21:05 +0000
Re: Arm registers Hul Tytus <ht@panix.com> - 2021-04-18 14:00 +0000
csiph-web