Skip to content

Latest commit

 

History

History
20 lines (9 loc) · 1.09 KB

README.md

File metadata and controls

20 lines (9 loc) · 1.09 KB

INF1018 - Basic Software/Computer Systems

2013.2

Projects for the Basic Software/Computer course at PUC-Rio.

Project 1 (T1)

The first project is an implementation of 16-bit integers in C. Basic operations are provided, such as addition, subtraction, multiplication and bit shifting, as well as comparator functions.

Project 2 (T2)

The second project is an implementation in C of a very simple programming language. The code is read from a file and the corresponding machine code is written to malloc-ed memory. A function pointer points to the program's entry point, allowing the user of the library to run the generated code.

Course program

Basic architecture of a computer; CPU, memmory, peripherals. Storage and representation of primitive types, binary; two's complement, floating point, ASCII code. CPU instructions; addresses, interrupts. Assembly language. Operating System calls; file systems. Execution model of a high level language; implementation of instructions and data. Memmory layout; static area, dynamic allocation area, activation registers. Linking of object files.