Is tape dead?
bfranchuk at jetnet.ab.ca
Tue Sep 15 15:00:17 CDT 2015
On 9/15/2015 12:49 PM, Richard Loken wrote:
> On Tue, 15 Sep 2015, Chuck Guzis wrote:
>> Maybe that's changed today. I remember seeing a figure of 11 debugged
>> lines of code per day per programmer as the average for a GSA programmer
>> back in the 1980s.
> I remeber that statistic from my youth, too. What kind of code? Fortran?
> APL? Cobol? Assember? C?
> Okay, here are eleven lines of C code:
> #include <stdio.h>
> int i;
> for(i = 0; i < 5; i++)
> fprintf(stderr, "%d. Hello world\n", i);
> That is hardly the language for this kind of statistic.
I have just finished a 8 bit CPU in a FPGA...
Can you port those few lines of code for me?
Will get back to you tomorrow.
PS: No pushes or pops from the stack, just indexing off S
would make this tricky. 2 byte ints.
foo(a,b,c) -> SUB S #8 params+return
-> ST A S...
-> JSR #foo
More information about the cctech