[AC1] Initial commit

This commit is contained in:
Tiago Garcia 2023-09-24 16:05:30 +01:00
parent aac91343f5
commit 2d4807dd9c
Signed by: TiagoRG
GPG Key ID: DFCD48E3F420DB42
6 changed files with 34 additions and 0 deletions

View File

@ -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)

Binary file not shown.

Binary file not shown.

View File

@ -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

View File

@ -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

Binary file not shown.