Libros
.stack 64h
.DATA
titulo DB "* CALCULADORA ARITMETICA LOGICA BASICA *$"
solicitar dB "operacion:$"
.code
MOV AX,@DATA
mov ds,ax
;marco principal
mov ax,0600h
mov bh,2Dh
movcx,0610h
mov dx,123Fh
int 10h
;posicionar el cursor para titulo
mov dx,0814h
mov ah,02h
mov bh,00h
int 10h
;escribir string de titulo
mov ah,09h
mov cx,01h
mov dx,offset titulo; dir. basestring CALCULADORA
int 21h
;posicionar el cursor para texto
mov dx,0A14h
mov ah,02h
mov bh,00h
int 10h
;escribir string de solicitud de operación
mov ah,09h
mov cx,01h
mov dx,offset solicitar;dir string de solicitar operación
int 21h
;marco de datos
mov ax,0600h
mov bh,70h
mov cx,0A20h
mov dx,0B36h
Int 10h
;marco de símbolo &
mov ax,0600h
mov bh,0D7h
mov cx,1014h
mov dx,1118hint 10h
;posicionar cursor
mov dx,1016h
mov ah,02h
mov bh,00h
int 10h
;escribir simbolo
mov ah,02h
mov cx,01h
mov dl,26h; símbolo &
int 21h
;marco de símbolo +
mov ax,0600h
mov bh,0D7hmov cx,1020h
mov dx,1124h
int 10h
;posicionar cursor
mov dx,1022h
mov ah,02h
mov bh,00h
int 10h
;escribir simbolo
mov ah,02h
mov cx,01h
mov dl,2Bh; símbolo +
int 21h
;marco de símbolo -mov ax,0600h
mov bh,0D7h
mov cx,1028h
mov dx,112Ch
int 10h
;posicionar cursor
mov dx,102Ah
mov ah,02h
mov bh,00h
int 10h
;escribir simbolo
mov ah,02h
mov cx,01h
mov dl,2Dh; símbolo -
int21h
;marco de símbolo *
mov ax,0600h
mov bh,0D7h
mov cx,1030h
mov dx,1134h
int 10h
;posicionar cursor
mov dx,1032h
mov ah,02h
mov bh,00h
int 10h
;escribir simbolo
mov ah,02h
mov cx,01hmov dl,2Ah; símbolo *
int 21h
;marco de símbolo /
mov ax,0600h
mov bh,0D7h
mov cx,1038h
mov dx,113Ch
int 10h
;posicionar cursor
mov dx,103Ah
mov ah,02h
mov bh,00h
int 10h
;escribirsimbolo
mov ah,02h
mov cx,01h
mov dl,2Fh; símbolo /
int 21h
;posicionar cursor
mov dx,0A22h
mov ah,02h
mov bh,00h
int 10h
;capturar operación
call CALC
;posicionar cursor
mov dx,1400h
mov...
Regístrate para leer el documento completo.