[Oberon] Compiler Construction on projectoberon.net
cfbsoftware at gmail.com
Mon Mar 28 00:56:02 CEST 2022
On Sun, Mar 27, 2022 at 11:18 PM Joerg <joerg.straube at iaeth.ch> wrote:
> there is indeed an error in chapter 9.5 of the pdf you linked.
> If you read bullet 3 in the intro to chapter 9.5 a distinction of adr>= 0
> and adr<0 is mentioned for the memory mapped IO. But as mentioned in the
> intro, memory mapped IO is not implemented. For a fully working emulator
> you will need this IF adr>=0 and IF adr<0.
> But for this reduced mini emulator code in chapter 9.5, this IF is wrong
> (most probably a leftover of the full code). Take the sample code Chris
The complete sample code that I was referring to is the file RISC.Mod on
Prof Wirth's site:
The sample code that I quoted from the book was mistakenly taken from the
earlier (2013) revision of the book that I have on my computer rather than
the updated (2017) version on the website. I apologise for any confusion,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Oberon