From 8e7fd55c59b71e2ac9c8ae71410b7ee7ba9c10c0 Mon Sep 17 00:00:00 2001 From: rick Date: Mon, 10 May 2021 20:48:21 +0200 Subject: [PATCH] =?UTF-8?q?D=C3=A9placement=20en=20haut=20du=20helloworld?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello.asm b/hello.asm index 3f7ca56..615ac34 100644 --- a/hello.asm +++ b/hello.asm @@ -5,6 +5,8 @@ dw Start ; adresse de la fonction de départ db 00,00,00,00,00,00 ; bits inutilisés dans notre cas +Message: db 'Hello World!', 255 + Start: call &006F ; permet de sélectionner le mode de l'écran ld a, 32 ; mettre la taille de l'écran à 32 caractères @@ -25,6 +27,4 @@ PrintString: ; à l'écran le caractère est contenu dans hl jr PrintString -Message: db 'Hello World!', 255 - org &C000 ; alignement de fin de cartouche (pour OpenMSX)