Escolar Documentos
Profissional Documentos
Cultura Documentos
Ejemplo: Ingrese un numero: A, Z, 2 [2] 2+1=2 2+2=4 2+3=5 ... 2+10=12 [3] 4-3=1 5-3=2 6-3=3 ... -----------------------.org 100H inicio: mov dx, offset etiqueta mov ah, 09H int 21h mov int cmp JAE JMP a2: cmp al, '39' JBE opera JMP a1 opera: mov mov int mov int dl, al ah, 02h 21h dl,13 21h ;antes de imprimir ;verificar si es par sub al, 30h mov bl, 2 div bl cmp ah, 0 JE suma JMP resta ah, 01h 21h al, '30' a2 a1
;verificar si es numero