Jump to content

Loops/Infinite: Difference between revisions

add task to ARM64 assembly Raspberry Pi
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
(add task to ARM64 assembly Raspberry Pi)
Line 106:
: inf repeat "SPAM\n" . again ;
</lang>
=={{header|AArch64 Assembly}}==
{{works with|as|Raspberry Pi 3B version Buster 64 bits}}
<lang AArch64 Assembly>
/* ARM assembly AARCH64 Raspberry PI 3B */
/* program infinite64.s */
/*******************************************/
/* Constantes file */
/*******************************************/
/* for this file see task include a file in language AArch64 assembly*/
.include "../includeConstantesARM64.inc"
/*********************************/
/* Initialized data */
/*********************************/
.data
szMessage: .asciz "SPAM\n"
/*********************************/
/* code section */
/*********************************/
.text
.global main
main:
loop:
ldr x0,qAdrszMessage
bl affichageMess
b loop
 
qAdrszMessage: .quad szMessage
 
/********************************************************/
/* File Include fonctions */
/********************************************************/
/* for this file see task include a file in language AArch64 assembly */
.include "../includeARM64.inc"
</lang>
=={{header|ACL2}}==
<lang Lisp>(defun spam ()
Cookies help us deliver our services. By using our services, you agree to our use of cookies.