A voir également:
- Assembleur
- Logiciel assembleur - Télécharger - Édition & Programmation
- Assembleur pdf - Guide
- Assembleur - Forum Programmation
- Problème assembleur - Forum Assembleur
- Assembleur pc gamer ✓ - Forum Études / Formation High-Tech
2 réponses
Salut,
pour masm:
.data
prompt byte "entrer un nombre:",0
array word 16 dup(?)
.code
mov esi,offset array
mov ecx,lengthof array
l1:
mov edx,offset prompt
call writestring
call readint
mov array[esi],eax
add esi,type array
loop l1
main end
end main
Pour une structure X86, sous masm et librairie Irvine (pour avoir les routine writestring et readint....)
j'espère ca pourra t'aider un peu...
@+
pour masm:
.data
prompt byte "entrer un nombre:",0
array word 16 dup(?)
.code
mov esi,offset array
mov ecx,lengthof array
l1:
mov edx,offset prompt
call writestring
call readint
mov array[esi],eax
add esi,type array
loop l1
main end
end main
Pour une structure X86, sous masm et librairie Irvine (pour avoir les routine writestring et readint....)
j'espère ca pourra t'aider un peu...
@+