JohnSmith
-
Compteur de contenus
65 -
Inscription
-
Dernière visite
Messages posté(e)s par JohnSmith
-
-
Sur un AVR AT90S2313 (on sort sur le port série à 9600bauds).
.include "..\appnotes\2313def.inc" ... skip ... Print_string: ld temp,Z+ tst temp breq End_print_string rcall To_UART rjmp Print_string End_print_string: ret Init_UART: out UBRR,temp ldi temp,$18;portsérie en émmission et réception 8bits+1stop sans it out UCR,temp ret To_UART: sbis USR,UDRE rjmp To_UART; on boucle tant que l'uart n'est pas prêt à émmetre out UDR,temp; rien sous it! ret ;**** End of File ****
et voila, c'est simple en fait
ben c'est trop simple pour fonctionner, en fait
"Hello World!" dans tous les langages
dans Programmation et Lignes de code
Posté(e)
En DOS Shell (j'ai honte)
En OCCAM (pour ceux qui sont équipés lampe torche et pelle)
En RPL HP28S, SYSEVAL-free (Nostalgie, nostalgie...)
En Delphi
En 68K sur ST avec DEVPAC
En LOGO, version texte (si il y en a un qui veut nous faire la version graphique...)
En pseudocode