Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rechnertechnik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Gerwinski
Rechnertechnik
Commits
780e6534
Commit
780e6534
authored
May 25, 2023
by
Peter Gerwinski
Browse files
Options
Downloads
Patches
Plain Diff
Vortragsfolien und Beispiele 24.5.2023
parent
30d72eb5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
20230524/rtech-20230524.pdf
+0
-0
0 additions, 0 deletions
20230524/rtech-20230524.pdf
20230524/rtech-20230524.tex
+4
-119
4 additions, 119 deletions
20230524/rtech-20230524.tex
with
4 additions
and
119 deletions
20230524/rtech-20230524.pdf
+
0
−
0
View file @
780e6534
No preview for this file type
This diff is collapsed.
Click to expand it.
20230524/rtech-20230524.tex
+
4
−
119
View file @
780e6534
...
...
@@ -722,6 +722,8 @@
\end
{
frame
}
\iffalse
\subsubsection
{
Register sichern
}
\begin
{
frame
}
...
...
@@ -744,54 +746,6 @@
\subsection
{
Computer
-
Sprachen
}
\subsubsection
{
Maschinensprache
}
\iffalse
\begin
{
frame
}
\showsubsection
\showsubsubsection
\strut\hfill
\begin
{
minipage
}{
6
.
5
cm
}
\vspace
*
{
-
1
.
7
cm
}
\small
Computer
\begin
{
itemize
}
\itemsep
0
pt
\item
Rechenwerk
(
ALU
)
\item
Speicher: Register,
\\
adressierbarer Hauptspeicher
\item
Takt: Befehle abarbeiten
\item
Peripherie: Kommunikation
\\
mit der Außenwelt
\arrowitem
in Maschinensprache programmierbar
\end
{
itemize
}
\end
{
minipage
}
\hspace
*
{
-
0
.
5
cm
}
In jedem Takt:
\begin
{
itemize
}
\item
dort aus dem Hauptspeicher lesen, wohin das Register
\lstinline
{
IP
}
zeigt
\\
\textarrow\ \newterm
{
Befehl
\/
}
(
\newterm
{
Instruction
\/
}
--
\lstinline
{
IP
}
=
\newterm
{
Instruction Pointer
\/
}
)
\item
den
\newterm
{
Befehl
\/
}
an den
\newterm
{
Funktion
\/
}
-
Eingang der
\newterm
{
ALU
\/
}
legen
\item
auf ähnliche Weise weitere Daten an den
\newterm
{
Akkumulator
\/
}
-
\\
und den
\newterm
{
Daten
\/
}
-
Eingang der
\newterm
{
ALU
\/
}
legen
\item
auf ähnliche Weise den
\newterm
{
Ergebnis
\/
}
-
Ausgang der
\newterm
{
ALU
}
\\
in den Hauptspeicher schreiben
\textarrow\
Befehl ausgeführt
\item
Register
\lstinline
{
IP
}
hochzählen
\textarrow\
nächster Befehl
\arrowitem
Maschinensprache
\end
{
itemize
}
\end
{
frame
}
\fi
\begin
{
frame
}
\showsubsection
...
...
@@ -1121,6 +1075,8 @@
\end
{
frame
}
\fi
\subsection
{
I
/
O
-
Ports
}
\begin
{
frame
}
[
fragile
]
...
...
@@ -1568,77 +1524,6 @@
\end
{
frame
}
\iffalse
\subsection
{
Binärdarstellung negativer Zahlen
}
\begin
{
frame
}
[
fragile
]
\showsubsection
Speicher ist begrenzt
!
\\
\textarrow\
feste Anzahl von Bits
\medskip
8
-
Bit
-
Zahlen ohne Vorzeichen:
\lstinline
{
uint
8
_
t
}
\\
\textarrow\
Zahlenwerte von
\lstinline
{
0
x
00
}
bis
\lstinline
{
0
xff
}
=
0
bis
255
\\
\pause
\textarrow\
255
+
1
=
0
\pause
\medskip
8
-
Bit
-
Zahlen mit Vorzeichen:
\lstinline
{
int
8
_
t
}
\\
\lstinline
{
0
xff
}
=
255
ist die "`natürliche"' Schreibweise für
$
-1
$
.
\\
\pause
\textarrow\
Zweierkomplement
\pause
\medskip
Oberstes Bit
=
1
: negativ
\\
Oberstes Bit
=
0
: positiv
\\
\textarrow\
127
+
1
=
$
-128
$
\end
{
frame
}
\begin
{
frame
}
[
fragile
]
\showsubsection
Speicher ist begrenzt
!
\\
\textarrow\
feste Anzahl von Bits
\medskip
16
-
Bit
-
Zahlen ohne Vorzeichen:
\lstinline
{
uint
16
_
t
}
\hfill\lstinline
{
uint
8
_
t
}
\\
\textarrow\
Zahlenwerte von
\lstinline
{
0
x
0000
}
bis
\lstinline
{
0
xffff
}
=
0
bis
65535
\hfill
0
bis
255
\\
\textarrow\
65535
+
1
=
0
\hfill
255
+
1
=
0
\medskip
16
-
Bit
-
Zahlen mit Vorzeichen:
\lstinline
{
int
16
_
t
}
\hfill\lstinline
{
int
8
_
t
}
\\
\lstinline
{
0
xffff
}
=
66535
ist die "`natürliche"' Schreibweise für
$
-1
$
.
\hfill
\lstinline
{
0
xff
}
=
255
=
$
-1
$
\\
\textarrow\
Zweierkomplement
\medskip
Oberstes Bit
=
1
: negativ
\\
Oberstes Bit
=
0
: positiv
\\
\textarrow\
32767
+
1
=
$
-32768
$
\bigskip
Literatur:
\url
{
http:
//
xkcd.com
/
571
/
}
\end
{
frame
}
\fi
\begin
{
frame
}
[
fragile
]
\showsubsection
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment