You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is an implementation of a P-machine, a theoretical stack-based virtual machine commonly used in compiler design and computer science education. The P-machine executes a sequence of instructions, manipulating a stack and performing various operations defined by opcodes.
This project is a simple two-pass assembler. It takes a machine operation code file and an assembly instruction file as input. It generates binary code for each instruction and records label information. The machine code is saved in a machine code file, while the symbol table stores label details.