Skip to content

andylvua/PCO_AssemblyLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 4. Assembly

Team: Andrii Yaroshevych, Anastasiia Shvets
Variant func_1: 2
Variant func_2: 7
OS: LINUX

Prerequisites

  • GCC 4.9 or higher
  • FASMG - provided in the repository
  • Git
  • Make

Compilation

To compile the project, you need to clone the repository first:

$ mkdir ~/workspace
$ cd ~/workspace
$ git clone https://github.com/ucu-cs/lab4_asm_func-asm_yaroshevych_shvets
$ cd lab4_asm_func-asm_yaroshevych_shvets

Replace ~/workspace with the path to your workspace.

Remember, if you want to change the name of the folder you clone the repository to, you can simply add the name of the folder after the repository URL.

$ git clone https://github.com/ucu-cs/lab4_asm_func-asm_yaroshevych_shvets folder_name

Then, you can compile the project using the following command from the root of the project:

$ make

This will automatically run compilation of the project files. Executable files will be placed in the bin folders of the corresponding tasks.

Usage

To run the program after compilation, you need to execute the following command from the root of the project:

$ ./func_1/bin/call_from_c
$ ./func_1/bin/call_from_a

and

$ ./func_2/bin/call_from_c
$ ./func_2/bin/call_from_a

License

The MIT License (MIT)

Copyright © 2022. Andrii Yaroshevych, Anastasiia Shvets