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

Bare metal, Assembly language • Re: Is this blinker code supposed to run any faster on 1200MHz core?

$
0
0
That good you now appear to have the cache and branch predictor running.

If you wanted some smaller code see below :

Code:

// R3 toggle register// r4 led pin bit   ldr loop:ldr r2, =0x3FFFFFFFdelay:   subs r2, r2 #1   bne delayblinker:   eors r3,r3,#1   / led ON /   streq r4,[]   / led OFF /   strne r4,[]   B loop

Statistics: Posted by dp11 — Wed Apr 03, 2024 8:33 pm



Viewing all articles
Browse latest Browse all 5033

Trending Articles