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

Merge branch 'tables' into 'master'

Reformat tables

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