Input loop: Difference between revisions

m
(Add task to ARM assembly Raspberry pi)
Line 154:
.data
szMessErreur: .asciz "Erreur ouverture fichier input.\n"
szMessErreur4: .asciz "Erreur création fichier output.\n"
szMessErreur1: .asciz "Erreur fermeture fichier.\n"
szMessErreur2: .asciz "Erreur lecture fichier.\n"
szMessErreur3: .asciz "Erreur d'écriture dans fichier de sortie.\n"
szCarriageReturn: .asciz "\n"
szMessEndLine: .asciz "<<<<<< End line.\n"
Line 259 ⟶ 257:
 
100: @ end program
mov r7, #EXIT
pop {fp,lr} /* restaur des 2 registres */
mov r7, #EXIT /* appel fonction systeme pour terminer */
svc 0
iAdrszNameFileInput: .int szNameFileInput
Line 291 ⟶ 288:
 
</pre>
 
=={{header|AutoHotkey}}==
This example reads the text of a source file line by line