en assembleur 6502 (version Commodore 64, assembleur Ophis) :
.word $0801
.org $0801
.word next, 10
.byte $9e, " 2064", 0
next:
.word 0
.advance 2064
jsr $e544
ldx #$00
ch:
cpx #$0b
beq end
lda string, x
sta $0400, x
inx
jmp ch
end:
rts
string:
.byte $08, $05, $0c, $0c, $0f, $20, $17, $0f, $12, $0c, $04
A assembler avec :
ophis -6510 monfichier.s monprogramme.prg