RE:Como puedo crear un recuadro en pantalla
pues al final logro salirme y aqui esta
.model small
.stack
.data
pal db"║$"
.code
.startup
;limpiar pantalla
mov ah,00h
mov al,03h
int 10h
;ubicar el cursor
mov ah,02h
mov dh,5
mov dl,0
int 10h
;imprimir esquina superior izq
mov ah,09h
mov al,"╔"
mov bl,10
mov cx,1
int 10h
;ubicar el cursor
mov ah,02h
mov dh,5
mov dl,1
int 10h
;imprimir el ═ superior
mov ah,09h
mov al,"═"
mov bl,10
mov cx,10
int 10h
;ubicar el cursor
mov ah,02h
mov dh,5
mov dl,11
int 10h
;imprimir esquina superior derecha
mov ah,09h
mov al,"╗"
mov bl,10
mov cx,1
int 10h
;ubicar el cursor
mov ah,02h
mov dh,6
mov dl,0
int 10h
;imprimir las ║ laterales
mov cx,10
mov bl,6
lat:
mov ah,09h
mov dx,offset[pal]
int 21h
mov ah,02h
mov dh,bl
mov dl,0
int 10h
inc bl
loop lat
mov ah,02h
mov dh,6
mov dl,11
int 10h
mov cx,10
mov bl,6
lat2:
;imprimir otra vez
mov ah,09h
mov dx,offset[pal]
int 21h
mov ah,02h
mov dh,bl
mov dl,11
int 10h
inc bl
loop lat2
;ubicar el cursor
mov ah,02h
mov dh,15
mov dl,0
int 10h
;imprimir esquina inferior izq
mov ah,09h
mov al,"╚"
mov bl,10
mov cx,1
int 10h
;ubicar el cursor
ub:
mov ah,02h
mov dh,15
mov dl,1
int 10h
;imprimir el ═ inferior
mov ah,09h
mov al,"═"
mov bl,10
mov cx,10
int 10h
;ubicar el cursor
mov ah,02h
mov dh,15
mov dl,11
int 10h
;imprimir esquina inferior derecha
mov ah,09h
mov al,"╝"
mov bl,10
mov cx,1
int 10h
.exit
end