Hello World
Posted: Mon Jun 15, 2009 11:13 am
My solution
88+g1v2v2*5*+2*5*+P$0724c1014c1084c1084c1114c0444c0324c0874c1114c1144c1084c1004c!
uses a subroutine starting at position 4 expecting
1
2
3
on the stack, transforming it to
3
2
1
changing it to decimal number
123
print via P and returning to caller.
The program starts with a jump over the subroutine to the sequence printing the characters.
The first character, H, is printed this way:
0 \
7 } ASCII representation of H
2 /
4 \_ subroutine call
c /
Is there a way to make it shorter?
Mon Jun 15, 2009 8:39 am View user's profile Send private message
88+g1v2v2*5*+2*5*+P$0724c1014c1084c1084c1114c0444c0324c0874c1114c1144c1084c1004c!
uses a subroutine starting at position 4 expecting
1
2
3
on the stack, transforming it to
3
2
1
changing it to decimal number
123
print via P and returning to caller.
The program starts with a jump over the subroutine to the sequence printing the characters.
The first character, H, is printed this way:
0 \
7 } ASCII representation of H
2 /
4 \_ subroutine call
c /
Is there a way to make it shorter?
Mon Jun 15, 2009 8:39 am View user's profile Send private message