Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Martin Kröning
gi4_uebung08
Commits
51e8059f
Commit
51e8059f
authored
Jun 25, 2019
by
Steffen Vogel
🎅🏼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'tables' into 'master'
Reformat tables See merge request os/gi4_uebung08!3
parents
60e272cb
e5c9fd46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
49 deletions
+49
-49
README.md
README.md
+49
-49
No files found.
README.md
View file @
51e8059f
...
...
@@ -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
|
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment