elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Recuerda que debes registrarte en el foro para poder participar (preguntar y responder)


  Mostrar Mensajes
Páginas: [1]
1  Programación / ASM / Me podrian ayudar a salir de la anidacion error "A1010 Unmatched block nesting" en: 21 Marzo 2014, 05:19 am
Hola amigos .. soy nuevo en el lenguaje ensamblador. No logro encontrar mi error espero me puedan ayudar. Si les sirve utilizo MASM611 desde dosbox.

MODEL TINY
.LISTALL
.386
.CODE
.STARTUP

MOV EAX, 123455H
CALL DISPE
.EXIT
DISPE PROC NEAR
    MOV EBX, 10 
    PUSH BX
    MOV CL, 0

    .WHILE 1   
        MOV EDX, 0 
        DIV EBX
        ADD DL, 30H
        PUSH DX
       .BREAK

       .IF EAX==0 
       INC CL

       .IF CL==3   
           PUSH '.'
           MOV CL, 0   
          .ENDIF 
    .ENDW

    .WHILE 1   
        POP DX 
        .BREAK

        MOV AH, 2       
        INT 21H
    .ENDW

    RET
DISPE ENDP
END
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines