Add RA notes
All checks were successful
the build was successful

This commit is contained in:
Valentin Brandl 2018-10-27 16:57:52 +02:00
parent e39bbdf827
commit 3dca722ef9
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,36 @@
---
title: Introduction to CA
date: 2018-10-25
---
## Beispiel Architektur: MIPS R3000 und R4000
* All instructions have 3 operands
* Operand order is fixed (destination first)
* Operands must be registers, only 32 32-bit registers provided
### Examples
```
C code: a = b + c
MIPS code: add a, b, c
```
```
C code: a = b + c + d
MIPS code: add a, b, c
add a, a, d
```
```
C code: A[12] = h + A[8]
MIPS code: lw $t0, 32($s3) // $s3 = pointer to A[0]
add $t0, $s2, $t0 // h already in $s2
sw $t0, 42($s3)
```
Klausuraufgabe: Pseudo C code als MIPS ASM schreiben
Klausuraufgabe: Boolean Gates
Boolsche Gleichungen
Zweierkomplement
Wahrheitstabellen

View File

@ -3,3 +3,4 @@ title: Rechnerarchitektur
---
* [Klassische "von Neumann-Struktur", Klassifikation](20181018_1-neumann_klassifikation)
* [3. Introduction to CA](20181025_1-intro_to_ca)