Skip to content

ZKAW/corewar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 4, 2023
f0cd875 · Dec 4, 2023

History

6 Commits
Dec 4, 2023
Dec 4, 2023
Dec 4, 2023
Dec 4, 2023
Dec 4, 2023
Dec 4, 2023
Dec 4, 2023

Repository files navigation

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]

About

Corewar Epitech Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published