CHAINE CARACTERE

zeco2 Messages postés 2 Date d'inscription vendredi 15 octobre 2010 Statut Membre Dernière intervention 5 novembre 2010 - 5 nov. 2010 à 23:07
cs_patatalo Messages postés 1466 Date d'inscription vendredi 2 janvier 2004 Statut Modérateur Dernière intervention 14 février 2014 - 6 nov. 2010 à 00:02
AIDE MOI SVP POUR QUE CE PROGRAMME ARRETE DE SAISI LA CHAINE SI ON TAPEZ SUR LE CARACTERE '#'
title chaine caractére
.386
.model small
.stack 100h

.data

msg BYTE "saisi la chaine: $"

.code
main proc
mov ax,@data
mov ds,ax

mov dx,offset msg
mov ah,09h
int 21h

mov ah,10
int 21h

.exit
main ENDP
END main

2 réponses

cs_patatalo Messages postés 1466 Date d'inscription vendredi 2 janvier 2004 Statut Modérateur Dernière intervention 14 février 2014 2
5 nov. 2010 à 23:57
salut,

comment cette fonction peut admettre le caractère "#" ?
fonction 10 (0Ah) D.O.S.


@++
0
cs_patatalo Messages postés 1466 Date d'inscription vendredi 2 janvier 2004 Statut Modérateur Dernière intervention 14 février 2014 2
6 nov. 2010 à 00:02
vois plutôt par là:entrée clavier B.I.O.S.
0
Rejoignez-nous