* [ECOS] Assembler errors for 603e
@ 2001-01-10 22:32 Suresh N
2001-01-11 0:01 ` Jesper Skov
0 siblings, 1 reply; 3+ messages in thread
From: Suresh N @ 2001-01-10 22:32 UTC (permalink / raw)
To: ecos-discuss
Hi all,
I am trying to port the 860 code to 8260 code...
I am using the same tools for building it....
(1) The offsets in the case of 8260 starts from 65k from IMMR..
so i get the error in the assembler as
<cut>
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:125: Error: operand
out of range (65536 not between -32768 and 32767)
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:131: Error: operand
out of range (65540 not between -32768 and 32767)
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:136: Error: operand
out of range (66080 not between -32768 and 32767)
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:140: Error: operand
out of range (65572 not between -32768 and 32767)
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:148: Error: operand
out of range (65792 not between -32768 and 32767)
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:149: Error: operand
out of range (65796 not between -32768 and 32767)
</cut>
how i can change the range....
(2) the assembler is not recognising the andi opcode.. any idea
why?
<cut>
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:89: Error: Unrecognized
opcode: `andi'
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:99: Error: Unrecognized
opcode: `andi'
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/ads/v1_3_1/src/ads.S:107: Error: Unrecognized
opcode: `andi'
</cut>
thanx in advance...
bye
-----------------***************************************----------------
N.SURESH
Research Engineer,
Centre For Development of Telematics,
71/1,Sneha Complex,
Bangalore-560052
-----------------***************************************----------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Assembler errors for 603e
2001-01-10 22:32 [ECOS] Assembler errors for 603e Suresh N
@ 2001-01-11 0:01 ` Jesper Skov
[not found] ` <Pine.OSF.4.21.0101111334550.24845-100000@jnana.cdotb.ernet.in>
0 siblings, 1 reply; 3+ messages in thread
From: Jesper Skov @ 2001-01-11 0:01 UTC (permalink / raw)
To: Suresh N; +Cc: ecos-discuss
>>>>> "Suresh" == Suresh N <nsuresh@cdotb.ernet.in> writes:
Suresh> Hi all, I am trying to port the 860 code to 8260 code... I am
Suresh> using the same tools for building it....
Suresh> (1) The offsets in the case of 8260 starts from 65k
Suresh> from IMMR.. so i get the error in the assembler as
Suresh> <cut>
Suresh> how i can change the range....
Rewrite the code to use 32 bit offsets.
Suresh> (2) the assembler is not recognising the andi
Suresh> opcode.. any idea why?
Yes, there is no such thing as an andi instruction. Try 'andi.'
instead, but beware that it changes the CC.
Jesper
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Assembler errors for 603e
[not found] ` <Pine.OSF.4.21.0101111334550.24845-100000@jnana.cdotb.ernet.in>
@ 2001-01-11 0:48 ` Jesper Skov
0 siblings, 0 replies; 3+ messages in thread
From: Jesper Skov @ 2001-01-11 0:48 UTC (permalink / raw)
To: Suresh N; +Cc: ecos-discuss
[please remember to CC the list in the future]
>>>>> "Suresh" == Suresh N <nsuresh@cdotb.ernet.in> writes:
Suresh> Hi, i corrected the andi. problem.....
Suresh> the offset i can't reduce below 32 bits... since those
Suresh> are defined by the 8260 manual as the offset from the
Suresh> IMMR.....
I didn't say 'reduce the offset', I said:
>> Rewrite the code to use 32 bit offsets.
Instead of
lwz rn,offset(rx)
use
lwzx rn,rx,ry
where ry contains the offset.
Jesper
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-11 0:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-10 22:32 [ECOS] Assembler errors for 603e Suresh N
2001-01-11 0:01 ` Jesper Skov
[not found] ` <Pine.OSF.4.21.0101111334550.24845-100000@jnana.cdotb.ernet.in>
2001-01-11 0:48 ` Jesper Skov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).