Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,59 @@
/* ARM assembly AARCH64 Raspberry PI 3B */
/* program character64.s */
/*******************************************/
/* Constantes file */
/*******************************************/
/* for this file see task include a file in language AArch64 assembly*/
.include "../includeConstantesARM64.inc"
/*******************************************/
/* Initialized data */
/*******************************************/
.data
szMessCodeChar: .asciz "The code of character is : @ \n"
/*******************************************/
/* UnInitialized data */
/*******************************************/
.bss
sZoneconv: .skip 32
/*******************************************/
/* code section */
/*******************************************/
.text
.global main
main: // entry of program
mov x0,'A'
ldr x1,qAdrsZoneconv
bl conversion10S
ldr x0,qAdrszMessCodeChar
ldr x1,qAdrsZoneconv
bl strInsertAtCharInc // insert result at @ character
bl affichageMess
mov x0,'a'
ldr x1,qAdrsZoneconv
bl conversion10S
ldr x0,qAdrszMessCodeChar
ldr x1,qAdrsZoneconv
bl strInsertAtCharInc // insert result at @ character
bl affichageMess
mov x0,'1'
ldr x1,qAdrsZoneconv
bl conversion10S
ldr x0,qAdrszMessCodeChar
ldr x1,qAdrsZoneconv
bl strInsertAtCharInc // insert result at @ character
bl affichageMess
100: // standard end of the program */
mov x0,0 // return code
mov x8,EXIT // request to exit program
svc 0 // perform the system call
qAdrsZoneconv: .quad sZoneconv
qAdrszMessCodeChar: .quad szMessCodeChar
/********************************************************/
/* File Include fonctions */
/********************************************************/
/* for this file see task include a file in language AArch64 assembly */
.include "../includeARM64.inc"