On 25/05/2020 16:05, Stephen Pelc wrote:
> On Mon, 25 May 2020 11:50:20 +0100, David Taylor
> wrote:
>
>> What happens if, on a Raspberry Pi 1B, I try to run a program with ARM7
>> code? Anything specific like it refuses to run it or segfaults or???
>
> If by ARM7, you are referring to the ARM32 instruction set widely used
> in embedded chips, then it will probably run ... but.
>
> Each variant of the ARM instruction set has restrictions on the 32 bit
> "classic" instruction set. The details are in the instruction set
> reference manuals. For the ARM1176JZF-S you need the ARM6 manual.
> I found one at
> http://cs107e.github.io/readings/armv6.pdf
> or you could hunt on the ARM web site after registering.
>
> Look for anything that includes UNPREDICTABLE.
>
> Stephen
Thanks, Stephen. I'm referring to the Raspberry Pi 1B's processor, but
with the Buster OS installed. However, I shouldn't need to delve into
the references you've kindly given to get a simple C program working
when compiling and running on the 1B.
--
Cheers,
David
Web: http://www.satsignal.eu
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|