Skip to content

gzub04/Computer_Architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECOAR

Project created for Computer Architecture classes at Warsaw University of Technology.

Short description

The task was to create a program in C and assembly for 32-bit linux system that accepts binary file containing commands and create a drawing in bmp format based on it. Drawing method is the same as for turtle graphics.

Details

Write a program containing two source files: main program written in C and assembly module callable from C. The C declaration of an assembly routine is given for each project task. Use NASM assembler (nasm.sf.net) to assemble the assembly module. Use C compiler driver to compile C module and link it with the output of assembler. The C program should use command line arguments to supply the parameters to an assembly routine and perform all I/O operations. No system functions nor C library functions should be called from assembly code. Arguments for bit manipulation routines should be entered in hexadecimal. Routines processing .BMP files may receive as arguments either the pointer to the whole .BMP file image in memory or the pointer to bitmap and its sizes read by main program. The routines should correctly process images of any sizes unless stated otherwise.

To run:

make -f makefile
./turtle

About

Binary Turtle Graphics in x86 for 32-bit system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published