« first day (2223 days earlier)      last day (629 days later) » 

12:59 AM
Is it safe to infer that a jump instruction takes 1 clock cycle if a branch instruction takes one clock cycle?
 
 
3 hours later…
4:01 AM
@LandonZeKepitelOfGreytBritn No, not in general anyway. I know of at least one processor that takes 2 cycles for a branch and 3 or 5 for a jmp (3 for direct jump, 5 for indirect).
 
 
4 hours later…
8:15 AM
@JerryCoffin I find this very funny that you C++ guys know such low-level stuff! How come? AFAIK nobody here writes C++ on embedded platforms except me (on occasions). So you guys are usually at such a high level of abstraction that you don't (need to) care about how many clock cycles an Asm instruction takes.
I totally understand that you guys know what C++ implementation is faster than another. But am surprised that you are aware of the underlying Asm.
Oh, yhea. Thanks for the reply btw :)
 
Regardless of the level of abstraction sometimes you are in an inner loop where the details really matter. Even if there's 100 other processes and 500 other threads running
 
 
2 hours later…
Ron
10:12 AM
How do we approach implementing a copy ctor for a derived class in terms of delegating the task to a ctor of a base class?
 
Call the base class constructor from the derived class constructor?
 
Ron
Right. Thanks.
 
 
5 hours later…
3:45 PM
@LandonZeKepitelOfGreytBritn I can't speak for anybody else, but in my case, it's largely a matter of age. I wrote quite a bit of assembly language quite a while before this new-fangled C++ thing came along...
To put that in perspective, the processor I was thinking of was the 6502. I wrote 6502 assembly language on both Commodore and Apple machines. Along with useless trivia about instruction clock counts, I also still remember that the entry point to the Applesoft BASIC interpreter was at address 0x3D0. Considering how my memory seems to be affected by age, I'll probably forget the names of my wife and children before I forget that...
 
 
1 hour later…
5:06 PM
@JerryCoffin Now I'm curious if the 3DO got it's name from that address as an in joke
 

« first day (2223 days earlier)      last day (629 days later) »