thePeras / AC-Exercises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exercises of Arquitetura de Computadores Class

The assembly are coded for ARM arquitecture, so this files can be run in computers that uses ARM chips. Especificaly this files are written for ARM MacOS subsystem (Macs with M chips) so there are little things required. For example: The assembly exported routine must have a '_' character before the initial label. function() must be created with .global _function in the .s file.

(...)

Compiling files

I recomend the use of clang compiler. This compiler is already installed in the operation system.

clang -o runName file.c file.s or clang -o runName file.s or clang -o runName file1.s file2.s

Usefull resources in instruction.pdf

Debug.s

(..)

About


Languages

Language:Assembly 78.5%Language:C 16.8%Language:Makefile 4.7%