19 lines
443 B
TeX
19 lines
443 B
TeX
\begin{frame}[containsverbatim]
|
|
\frametitle{\secname}
|
|
\framesubtitle{\subsecname~II}
|
|
\begin{exampleblock}{Hello world en assembleur}
|
|
\begin{verbatim}
|
|
.global _start
|
|
HELLO: .ascii "Hello, World\n"
|
|
_start:
|
|
mov $4, %eax
|
|
mov $1, %ebx
|
|
mov $HELLO %ecx
|
|
mov $13, %edx
|
|
int $0x80
|
|
mov $1, %eax
|
|
mov $0, %ebx
|
|
int $0x80
|
|
\end{verbatim}
|
|
\end{exampleblock}
|
|
\end{frame}
|