Skip to content

A virtual, stack-and-register PL/0 machine, with 16 registers

Notifications You must be signed in to change notification settings

qwertynerd97/virtual-pl0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run the program:

Put the PL/0 code into a file named pl0.txt

Put pl0.txt into the folder with scanner.c, parser.c, virtualmachine.c, and controller.c

Compile controller.c with a C compiler

Run the executable file that was produced by the compiler

Note: Running with -l prints out lexemes, -a prints out assembly, -v prints out the output.
The program can be run with any combination of the above.

About

A virtual, stack-and-register PL/0 machine, with 16 registers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages