[ Pobierz całość w formacie PDF ]

Exercises
4.29 The assembler on the source diskette attempts some, but not much, error detection. Investigate
how it could be improved.
4.30 The machine is rather wasteful of memory. Had we used a byte oriented approach we could
have stored the code and the literal strings far more compactly. Develop an implementation that
does this.
4.31 It might be deemed unsatisfactory to locate the literal pool in high memory. An alternative
arrangement would be to locate it immediately above the executable code, on the lines of Figure
4.6. Develop a variation on the assembler (and, if necessary, the interpreter) to exploit this idea.
Further reading
Other descriptions of pseudo-machines and of stack machines are to be found in the books by
Wakerly (1981), Brinch Hansen (1985), Wirth (1986, 1996), Watt (1993), and Bennett (1990).
The very comprehensive stack-based interpreter for the Zürich Pascal-P system is fully described in
the book by Pemberton and Daniels (1982). [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • absolwenci.keep.pl
  •