coursc/generalites/03.tex
Florian Maury 0b4615ed74 initial
2014-02-24 18:38:56 +01:00

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}