News for hackers. Stuff that matters.
Re:Here's to the systems programmers – Writing Hello World o... by amelius on Friday May 13, 2016 @02:39PM (#11692330)
Does it do pipelining, branch prediction and (hyper)threading? How is its memory hierarchy (cache levels) organized? Does it support a privileged mode? Does it support hardware page faults? Did you implement floating-point operations?

> In order to be able to program it at all, I wrote a very simple compiler (strictly speaking it’s actually an assembler)

Does that compiler/assembler run on your hardware?

Re:Here's to the systems programmers – Writing Hello World o... by cdkersey on Friday May 13, 2016 @03:07PM (#11692524)
In a word: no. Processors this simple don't implement any of the features you mention, including multi-level memory hierarchies, and I doubt the author had any inclination to make the assembler self-hosting.
Re:Here's to the systems programmers – Writing Hello World o... by Someone on Friday May 13, 2016 @05:12PM (#11693273)
I'm not saying one should expect or demand it in a project like this, but minimalistic pipelining should be doable; both the 6502 (http://www.6502.org/users/andre/65k/arch.html#pipelining) and (IIRC) the 8080 started fetching the next instruction before finishing execution of the current one, where possible.
Re:Here's to the systems programmers – Writing Hello World o... by to3m on Friday May 13, 2016 @06:51PM (#11693700)
Do you have an example of a case where this provided a performance benefit to 6502 code?
Re:Here's to the systems programmers – Writing Hello World o... by placeybordeaux on Friday May 13, 2016 @05:10PM (#11693262)
Why should it?