Démarrer
Afficher “Hello World !!!”
- python
print("Hello World !!!")- c++
#include <stdio.h>
int main() {
printf("Hello World !!!");
return 0;
}- rust
fn main() {
println!("Hello World !!!");
}- nasm
bits 64
section .data
message: db "Hello World !!!", 10
message_taille: equ $-message
section .text
global main
main:
; appel à write
mov rax, 1
mov rdi, 1
mov rsi, message
mov rdx, message_taille
syscall
; appel à exit
mov rax, 60
mov rdi, 0
syscall