diff --git a/2ano/1semestre/ac1/README.md b/2ano/1semestre/ac1/README.md new file mode 100644 index 0000000..72cdef7 --- /dev/null +++ b/2ano/1semestre/ac1/README.md @@ -0,0 +1,5 @@ +# Arquitetura de Computadores 1 +### Projetos + resoluções de exercícios organizados por aulas + +--- +*Pode conter erros, caso encontre algum, crie um* [*ticket*](https://github.com/TiagoRG/uaveiro-leci/issues/new) diff --git a/2ano/1semestre/ac1/aula01/AC1-P-Aula1-Intro.pdf b/2ano/1semestre/ac1/aula01/AC1-P-Aula1-Intro.pdf new file mode 100644 index 0000000..7497c15 Binary files /dev/null and b/2ano/1semestre/ac1/aula01/AC1-P-Aula1-Intro.pdf differ diff --git a/2ano/1semestre/ac1/aula01/AC1-P-Aula1.pdf b/2ano/1semestre/ac1/aula01/AC1-P-Aula1.pdf new file mode 100644 index 0000000..b87a4a2 Binary files /dev/null and b/2ano/1semestre/ac1/aula01/AC1-P-Aula1.pdf differ diff --git a/2ano/1semestre/ac1/aula01/ex01_02.asm b/2ano/1semestre/ac1/aula01/ex01_02.asm new file mode 100644 index 0000000..8a508f3 --- /dev/null +++ b/2ano/1semestre/ac1/aula01/ex01_02.asm @@ -0,0 +1,14 @@ + .data + + .text + .globl main +main: ori $t0,$0,4 + ori $t1,$0,8 + + add $t6,$t0,$t0 + add $t6,$t6,$t1 + + sub $t7,$t0,$t0 + sub $t7,$t7,$t1 + + jr $ra \ No newline at end of file diff --git a/2ano/1semestre/ac1/aula01/ex03.asm b/2ano/1semestre/ac1/aula01/ex03.asm new file mode 100644 index 0000000..331bb27 --- /dev/null +++ b/2ano/1semestre/ac1/aula01/ex03.asm @@ -0,0 +1,15 @@ + .data + .text + .globl main +main: ori $v0,$0,5 + syscall + or $t0,$0,$v0 + ori $t2,$0,8 + add $t1,$t0,$t0 + sub $t1,$t1,$t2 + + or $a0,$0,$t1 + ori $v0,$0,1 + syscall + + jr $ra \ No newline at end of file diff --git a/2ano/1semestre/ac1/slides/AC1-T-Aula01.pdf b/2ano/1semestre/ac1/slides/AC1-T-Aula01.pdf new file mode 100644 index 0000000..ea8c4e3 Binary files /dev/null and b/2ano/1semestre/ac1/slides/AC1-T-Aula01.pdf differ