[Coco] Optimizing 6809 Assembly Code: Part 2 – Speedup Storing Data – Unrolling Loops

Steve Bamford stevecindybamford at yahoo.co.uk
Sat Sep 16 09:48:48 EDT 2017


This is a great idea Glen! :)

I think I'm right in saying a branch not taken uses fewer cycles than a branch taken, (correct me if I'm wrong).

For this reason where there's a fork in the program flow I always test for the least likely outcome rather than the most likely, if that makes sense?
Steve.


      From: Glen Hewlett <glen.hewlett at sympatico.ca>
 To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com> 
 Sent: Saturday, 16 September 2017, 3:44
 Subject: [Coco] Optimizing 6809 Assembly Code: Part 2 – Speedup Storing Data – Unrolling Loops
   
Hi Again,

I just posted Part 2 of my series of blogs about optimizing 6809 assembly language programs.

https://nowhereman999.wordpress.com/2017/09/15/optimizing-6809-assembly-code-part-2-speedup-storing-data-unrolling-loops/ <https://nowhereman999.wordpress.com/2017/09/15/optimizing-6809-assembly-code-part-2-speedup-storing-data-unrolling-loops/>

Cheers,
Glen

-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


   


More information about the Coco mailing list