bits 16
org 0100H
section .text
start:
mov dx, helloworld
mov ah, 9
int 21H
mov ax, 04c00H
int 21H
section .data
helloworld db "Hello world!", 10, "$"
#include <stdio.h>
int main()
{
printf("Hello world!");
return 0;
}