assembly_project/Principale.asm
Yohan Boujon d9e1f2ac2d Etape 0
2023-03-13 09:48:08 +01:00

62 lines
1.3 KiB
NASM

;************************************************************************
THUMB
REQUIRE8
PRESERVE8
;************************************************************************
include REG_UTILES.inc
;************************************************************************
; IMPORT/EXPORT Système
;************************************************************************
IMPORT ||Lib$$Request$$armlib|| [CODE,WEAK]
; IMPORT/EXPORT de procédure
IMPORT Init_Cible
EXPORT main
;*******************************************************************************
;*******************************************************************************
AREA mesdonnees, data, readwrite
;*******************************************************************************
AREA moncode, code, readonly
;*******************************************************************************
; Procédure principale et point d'entrée du projet
;*******************************************************************************
main PROC
;*******************************************************************************
MOV R0,#0
BL Init_Cible;
B . ; boucle inifinie terminale...
ENDP
END
;*******************************************************************************