program hello;
begin
writeln ('Hello World!');
end.
10 print "Hello world!"
#include <stdio.h>
main()
{
for(;;)
{
printf ("Hello World!\n");
}
}
#include
@interface Control:Object
{
}
- world;
void main();
@end
@implementation Control
- world
{
printf("Hello, World!\n");
}
void main()
{
id hello;
hello=[Control new];
for(;;)
[hello world];
}
@end
>+++++++++[<++++++++>-]<.>++++++[<+++++>-]<-.+++++++..++
+.
>>+++++++[<++++++>-]<++.------------.<++++++++.--------.
+++.------.--------.>+.>++++++++++.
org $1000
main
move.l #str,a0
movem.l a0,-(sp)
bsr _puts
bra main
org $2000
str dc.b 'Hello, World!',10,0
org $3000
_puts
movem.l d0-d1/d7/a0/a5/a6,-(sp)
move.l 28(sp),a5
move.l a5,a6
1$ move.b (a6)+,d0
cmp.b #0,d0
beq 2$
jmp 1$
2$ subq #1,a6
move.w #227,d7
trap #14
movem.l (sp)+,d0-d1/d7/a0/a5/a6
rts
END