Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4990

Bare metal, Assembly language • Re: What assembly language should i learn first: arm32 or arm64?

$
0
0
I don't know about Assembler defaults but my GCC on Bookworm appears to default to 'armv6' which I thought was 32-bit only -
armv6 and armv7 are both part of the arm32 family

the gcc that comes with 32bit raspios, is configured to do armv6 binaries by default, so whatever you compile, will work even on an original pi1 or a pi0

if it auto-detected that your on an armv7 capable machine, then things would break when you put the card into an older pi, and you would have to recompile

this is also part of why the 64bit os performs better, the 32bit version is handycapped by trying to remain compatible with the pi1
a 32bit armv7 build of the os might be faster, but when you have the choice between maintaining 3 forks of raspios, or 2, the choice is obvious

Statistics: Posted by cleverca22 — Sun Apr 28, 2024 4:54 am



Viewing all articles
Browse latest Browse all 4990

Trending Articles