Assembler-68008

HomeLanguagesAAssembler-68008 ► Hello World

Hello World


; Hello World in 68008 Assembler (Sinclar QL)

move.l #0,a0
lea.l mess,a1
move.w $d0,a2
jsr (a2)
rts
mess dc.w 12
dc.b 'Hello World!',10
end

. Saturday, October 11, 2008
1 comments

Assembler-68000-AtariST

HomeLanguagesAAssembler-68000-AtariST ► Hello World

Hello World


; Hello World in 68000 Assembler (Atari ST)

move.l #helloworld,-(A7)
move #9,-(A7)
trap #1
addq.l #6,A7
move #0,-(A7)
trap #1
helloworld:
dc.b "Hello World!",$0d,$0a,0

.
0 comments

Assembler-68000-Amiga

HomeLanguagesAAssembler-68000-Amiga ► Hello World

Hello World


; Hello World in 68000 Assembler for dos.library (Amiga)

move.l #DOS
move.l 4.w,a6
jsr -$0198(a6) ;OldOpenLibrary
move.l d0,a6
beq.s .Out
move.l #HelloWorld,d1

A) moveq #13,d2
jsr -$03AE(a6) ;WriteChars

B) jsr -$03B4 ;PutStr

move.l a6,a1
move.l 4.w,a6
jsr -$019E(a6) ;CloseLibrary
.Out rts

DOS dc.b 'dos.library',0
HelloWorld dc.b 'Hello World!',$A,0

.
0 comments

Assembler-6502-C64

HomeLanguagesAAssembler-6502-C64 ► Hello World

Hello World


; Hello World for 6502 Assembler (C64)

ldy #0
beq in
loop:
jsr $ffd2
iny
in:
lda hello,y
bne loop
rts
hello: .tx "Hello World!"
.by 13,10,0

.
0 comments

Assembler-6502-AppleII

HomeLanguagesAAssembler-6502-AppleII ► Hello World

Hello World



**********************************
* *
* HELLO WORLD FOR 6502 *
* APPLE ][, MERLIN ASSEMBLER *
* *
**********************************

STROUT EQU $DB3A ;OUTPUTS AY-POINTED NULL TERMINATED STRING
LDY #>HELLO
LDA #<HELLO
JMP STROUT

HELLO ASC "HELLO WORLD!",00

.
0 comments

ASP.NET

HomeLanguagesAASP.NET ► Hello World

Hello World

<%= /* Hello World in ASP.NET Hardcode*/ "Hello World!" %>

.
0 comments

ASP-VBS

HomeLanguagesAASP-VBS ► Hello World

Hello World


Hello World for Microsoft ASP (in VBScript)

<%@ language="vbscript" %>
<html><body>
<%
Response.write "Hello World!"
%>
</body></html>

.
0 comments