Question: (15) You are a Pascal teacher (a very good programmer using assembly language (i.e., machine language) of your local machine). You are given only the


(15) You are a Pascal teacher (a very good programmer using assembly language (i.e., machine language) of your local machine). You are given only the following programmes: (a) A compiler written in P-code: translate a program in Pascal to one in P-code (P-code is very close to your local machine language). (b) A P-code interpreter written in Pascal: able to interpret any program written in P-code. (15) You are a Pascal teacher (a very good programmer using assembly language (i.e., machine language) of your local machine). You are given only the following programmes: (a) A compiler written in P-code: translate a program in Pascal to one in P-code (P-code is very close to your local machine language). (b) A P-code interpreter written in Pascal: able to interpret any program written in P-code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
