Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Assembly language/helloworld-dishant.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
hello-DOS.asm - single-segment, 16-bit "hello world" program
;
; assemble with "nasm -f bin -o hi.com hello-DOS.asm"

org 0x100 ; .com files always start 256 bytes into the segment

; int 21h is going to want...

mov dx, msg ; the address of or message in dx
mov ah, 9 ; ah=9 - "print string" sub-function
int 0x21 ; call dos services

mov ah, 0x4c ; "terminate program" sub-function
int 0x21 ; call dos services

msg db 'Hello, World!', 0x0d, 0x0a, '$' ; $-terminated message
1 change: 1 addition & 0 deletions Assembly language/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HELLO WORLD PROGRAM IN X86 ASSEMBLY LANGUGAE
16 changes: 16 additions & 0 deletions javascript/helloworld-dishant.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE HTML>
<html>

<body>

<p>Before the script...</p>

<script>
alert( 'Hello, world!' );
</script>

<p>...After the script.</p>

</body>

</html>
1 change: 1 addition & 0 deletions javascript/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello world program in javacript
7 changes: 7 additions & 0 deletions kotlin/Helloworld-dishant.ktm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#hacktoberfest

# hacktoberfest

fun main(args: Array<String>) {
println("Hello World!")
}
5 changes: 5 additions & 0 deletions kotlin/helloworld-dishant.ktm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# hacktoberfest

fun main(args: Array<String>) {
println("Hello World!")
}
1 change: 1 addition & 0 deletions kotlin/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello world program in kotlin
15 changes: 15 additions & 0 deletions objective c/helloworld-dishant.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* Hello World in Objective-C.
** Since the standard implementation is identical to K&R C,
** a version that says hello to a set of people passed on
** the command line is shown here.
*/

#include <stdio.h>
#include <objpak.h>
int main(int argc,char **argv)
{
id set = [Set new];
argv++;while (--argc) [set add:[String str:*argv++]];
[set do:{ :each | printf("hello, %s!\n",[each str]); }];
return 0;
}
6 changes: 6 additions & 0 deletions pascal/helloworld-dishant.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#hacktoberfest

program HelloWorld;
begin
WriteLn('Hello, world!');
end.
1 change: 1 addition & 0 deletions pascal/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello World in Pascal