Last visit was: Thu May 01, 2025 12:12 pm
It is currently Thu May 01, 2025 12:12 pm



 [ 18 posts ]  Go to page Previous  1, 2
 TTL 8-bit/24-bit modified 6809/6309 Instruction Set Computer 
Author Message

Joined: Sun Mar 27, 2022 12:11 am
Posts: 58
Interrupts are checked on instruction fetch. The currently executing instruction adds to the latency, so it could be 40 cycles + interrupt handler cycles.

I'm thinking more efficient address generation is worth the cost. Hopefully there will be enough spare microcode control lines to include an address adder.


Thu Apr 24, 2025 1:06 am

Joined: Sat Feb 02, 2013 9:40 am
Posts: 2307
Location: Canada
Quote:
n this case each byte would take a couple of cycles to calculate the address and one cycle to read/write memory. So it could take almost 40 cycles to move all eight registers. I think this will add too much interrupt latency. So I'm going to use individual push/pop instructions for every register.
How fast is the clock? If it is fast enough having greater latency may not be an issue. For instance, at 10 MHz the instruction can take 10x as many clocks and still have the same latency as at 1 MHz.

_________________
Robert Finch http://www.finitron.ca


Thu Apr 24, 2025 1:51 am WWW

Joined: Sun Mar 27, 2022 12:11 am
Posts: 58
Clock will probably be around 4Mhz. So around 10us latency. Going with individual push/pop instructions will be slower but will decrease interrupt jitter.

I've been thinking about ditching interrupts, as polling probably makes more sense for a peripheral processor.


Fri Apr 25, 2025 3:11 am
 [ 18 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: claudebot and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software