.intel_syntax noprefix
.file "Ejemplo1.s"
#secciones
.section .data
# <- datos
# <- datos
#PROGRAMA
.section .text
.global _start
_start:
    mov ax,0x0100
    mov bx,0x2000
    mov cl,7          # divisor
    div cl            # dividendo = ax ; divisor = cl
    mov cx,ax         # guardar resultado y resto en cx
    mov ax,bx         # multiplicando
    mov bx,23         # multiplicador
    mul bx            # resultado en dx ax
    mov ebx,0
    mov eax,1 
    int 0x80
.end

