Commit 51e8059f authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

Merge branch 'tables' into 'master'

Reformat tables

See merge request os/gi4_uebung08!3
parents 60e272cb e5c9fd46
...@@ -75,63 +75,63 @@ SECTION .data ...@@ -75,63 +75,63 @@ SECTION .data
* Symboltabele * Symboltabele
| Symbol | Typ | Wert | Global sichtbar? (Ja/Nein) | Weitere Attribute | | Symbol | Typ | Wert | Global sichtbar? (Ja/Nein) | Weitere Attribute |
|--------|-----|------|----------------------------|-------------------| | ------ | --- | ---- | -------------------------- | ----------------- |
|     | | | | | | | | | | |
|     | | | | | | | | | | |
|     | | | | | | | | | | |
|    | | | | | | | | | | |
|    | | | | | | | | | | |
|    | | | | | | | | | | |
|    | | | | | | | | | | |
|    | | | | | | | | | | |
|    | | | | | | | | | | |
|    | | | | | | | | | | |
* Opcodes * Opcodes
| Mnemonic | OpCode | | Mnemonic | OpCode |
|----------|--------| | -------- | ------ |
| add | 0x01 | | add | 0x01 |
| sub |0x02 | | sub | 0x02 |
| inc | 0x03 | | inc | 0x03 |
| dec | 0x04 | | dec | 0x04 |
| push | 0x05 | | push | 0x05 |
| pop | 0x06 | | pop | 0x06 |
| jmp | 0x07 | | jmp | 0x07 |
| call | 0x08 | | call | 0x08 |
| ret | 0x09 | | ret | 0x09 |
| cmp | 0x0A | | cmp | 0x0A |
| je | 0x0B | | je | 0x0B |
| mov | 0x0C | | mov | 0x0C |
| int | 0x0D | | int | 0x0D |
* Adressmodus (untere 4 Bits) * Adressmodus (untere 4 Bits)
| Adressierungsart | Adressmodus | Beispiele | | Adressierungsart | Adressmodus | Beispiele |
|------------------|-------------|-----------| | -------------------- | ----------- | ---------------------- |
| register | 0x0 | mov eax, ... | | register | 0x0 | mov eax, ... |
| immediate | 0x1 | push 2000 | | immediate | 0x1 | push 2000 |
| direkt | 0x2 | mov [2000], ...| | direkt | 0x2 | mov [2000], ... |
| indirekt | 0x3 | mov [ebx], ...| | indirekt | 0x3 | mov [ebx], ... |
| indirekt indiziert | 0x4 | mov [ebx+8*eax], ...| | indirekt indiziert | 0x4 | mov [ebx+8*eax], ... |
| indir. mit disp. | 0x5 | mov [eax-4], ... | | indir. mit disp. | 0x5 | mov [eax-4], ... |
| indir. ind. m. disp. | 0x6 | mov [eax+8*ebx-4], ...| | indir. ind. m. disp. | 0x6 | mov [eax+8*ebx-4], ... |
* Register (obere 4 Bits) * Register (obere 4 Bits)
| Register | Bezeichner | | Register | Bezeichner |
|----------|------------| | -------- | ---------- |
| eax | 0x0 | | eax | 0x0 |
| ebx | 0x1 | | ebx | 0x1 |
| ecx | 0x2 | | ecx | 0x2 |
| edx | 0x3 | | edx | 0x3 |
| ebp | 0x4 | | ebp | 0x4 |
| esp | 0x5 | | esp | 0x5 |
| edi | 0x6 | | edi | 0x6 |
| esi | 0x7 | | esi | 0x7 |
| ax | 0x8 | | ax | 0x8 |
| al | 0x9 | | al | 0x9 |
| ah | 0xA | | ah | 0xA |
| bx | 0xB | | bx | 0xB |
| bl | 0xC | | bl | 0xC |
| bh | 0xD | | bh | 0xD |
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment