Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 975 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 975 Bytes

Corewar Epitech project

Description

Corewar is a project where you have to create a virtual machine that will execute a program written in assembly language. The assembly language is composed of a set of instructions that are represented by an hexadecimal code. The goal of the project is to create a virtual machine that will execute the program and display the memory state at the end of the execution.

Disclaimer

Never copy paste a repo, this will result in a -42. You can use this repo as a source of inspiration, but you should not copy paste it.

Info

Grade: A* (61.9%) VM: 10/10 ASM: 6/10

We pushed bad error handling on ASM before delivery, that cost us a lot of percentage. If you modify or remove some of the error handling, you can pass more tests (especially data structure).

Setup

make

Usage

./corewar/corewar [-dump nbr_cycle] [[-n prog_number] [-a load_address ] prog_name] ...
./asm/asm file_name[.s]