View on GitHub

PyWash

Two-Pass Assembler for a Washing Machine System

Description

Washing machine is a simple system whose operations can be emulated through software. The assembler assumes that the operations happening on the hardware level are implemented in the system itself. The assembler only converts the assembly level program to a binary output.

For information regarding the sytax of the assembly level program and further insight, please refer to the project report.
Find a sample program respecting the syntax rules here.

Dependencies:

Language: Python(3.8)

Contents

Execution

Results

The following results are as per the sample input file and the binary output is available as sample_bin.txt.
image
image