Motherboard Forums


Reply
Thread Tools Display Modes

ARM instructions exceptions !!

 
 





















Adam
Guest
Posts: n/a

 
      11-08-2004, 01:44 AM


Hi :

I am studying the ARM architecture reference manual recently because
my work is about the simulation of ARM7TDMI based processor core.

There are so many instruction exceptions;

for example:
when using the ldm instruction, if the base register Rn is also
in the register list, an exception of UNPREDICTABLE will appear.

Is there a list to show all the exceptions I must pay attention to
when tesing ??

Thanks
 
Reply With Quote
 
Hans-Bernhard Broeker
Guest
Posts: n/a

 
      11-08-2004, 10:08 AM
Adam <> wrote:

> Is there a list to show all the exceptions I must pay attention to
> when tesing ??


Isn't the architecture manual exactly that list you're asking about?

--
Hans-Bernhard Broeker ()
Even if all the snow were burnt, ashes would remain.
 
Reply With Quote
 
Adam
Guest
Posts: n/a

 
      11-09-2004, 04:52 AM
Hans-Bernhard Broeker <> wrote in message news:<>...
> Adam <> wrote:
>
> > Is there a list to show all the exceptions I must pay attention to
> > when tesing ??

>
> Isn't the architecture manual exactly that list you're asking about?


Sorry !! I mean overall factors to cause the UNPREDICTABLE result.
Most instructions have some UNPREDICTABLE situations, and I
want to know if there exists a list to show all the factors to
result in UNPREDICTABLE.
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      11-09-2004, 07:29 AM
Adam wrote:
> Hans-Bernhard Broeker <> wrote in message news:<>...
>
>>Adam <> wrote:
>>
>>
>>>Is there a list to show all the exceptions I must pay attention to
>>>when tesing ??

>>
>>Isn't the architecture manual exactly that list you're asking about?

>
>
> Sorry !! I mean overall factors to cause the UNPREDICTABLE result.
> Most instructions have some UNPREDICTABLE situations, and I
> want to know if there exists a list to show all the factors to
> result in UNPREDICTABLE.


Just go and pick all of them for ARM ARM.

Please note that UNPREDICTABLE means really it - it is very
probably different on different chips and maybe also
different depending on the conditions before the
UNPREDICTABLE condition.

The UNPREDICTABLE conditions leave the chip designer's hands
free to optimize the logic in the way he deems fit.

HTH

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
Everett M. Greene
Guest
Posts: n/a

 
      11-09-2004, 07:37 PM
Tauno Voipio <> writes:
> Adam wrote:
> > Hans-Bernhard Broeker <> wrote
> >>Adam <> wrote:
> >>
> >>>Is there a list to show all the exceptions I must pay attention to
> >>>when tesing ??
> >>
> >>Isn't the architecture manual exactly that list you're asking about?

> >
> > Sorry !! I mean overall factors to cause the UNPREDICTABLE result.
> > Most instructions have some UNPREDICTABLE situations, and I
> > want to know if there exists a list to show all the factors to
> > result in UNPREDICTABLE.

>
> Just go and pick all of them for ARM ARM.
>
> Please note that UNPREDICTABLE means really it - it is very
> probably different on different chips and maybe also
> different depending on the conditions before the
> UNPREDICTABLE condition.
>
> The UNPREDICTABLE conditions leave the chip designer's hands
> free to optimize the logic in the way he deems fit.


The ARM ARM could have made things more clear by referring to
the so-called exceptions as being implementation-defined.
Most of the "exceptions" typically are for someone using the
PC as one of the operands. These will occur most often by
coding mistake, so all bets are off as to what will happen.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where are the instructions for restoring for a factory restore helmsman Dell 3 09-03-2008 07:21 PM
My Dell won't start. Popess Pantiara Evokovitch, BAYBEE! Dell 2 12-28-2007 07:34 AM
K7AMA and SSE instructions bloz Elitegroup 0 10-11-2007 06:52 PM
NEEDED: detailed instructions to replace internal memory Compaq R4012us laptop sillydude59 Compaq 0 09-15-2007 12:26 AM
m7350n driver install instructions failure William HP 1 12-31-2006 03:16 PM


All times are GMT. The time now is 06:07 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43