Sr, Gustavo Ramirez

Páginas: 10 (2413 palabras) Publicado: 27 de abril de 2012
;***************** gt.ram64@hotmail.com*************************

org 100h

.MODEL SMALL
.STACK 32
.DATA

espe db '!!!!!!!!!!! ESCUELA POLITECNICA DEL EJERCITO !!!!!!!!!!!$'
car db 'Ingenieria Electronica $'
matg db 'Materia: $'
mat db 'Microprocesadores y Arquitectura del Computador$'
namg db 'Nombre: $'

ind1 db 'Ingrese el dato 1: $'
ind2 db 'Ingrese el dato 2: $'err db 'Vuelva a ingresar datos:$'
er1 db 'Vuelva a ingresar datos resta cero:$'


inng db 'Ingrese la operacion a ejecutar: $'
adic db '1)Sumar dos numeros$'
rest db '2)Restar dos numeros$'
mulp db '3)Multiplicar dos numeros$'
divp db '4)Dividir dos numeros$'
andp db '5)Operacion logica AND$'
orp db '6)Operacion logica OR$'

esum db 'La suma es:$'
esus db 'La resta es:$'emul db 'La multiplicacion es:$'
ediv db 'La divicion es:$'
eor db 'La operacion or es:$'
eand db 'La operacion and es:$'

dat1 Dw ?
dat2 Dw ?
adt1 dw ?
adt2 dw ?
bool1 Db 00h
uni Db ?
dece Db ?
auxm db ?

;
cond db 47 ;Para validar la entrada
nip db 1h ;Para setear el cursor
op db ? ;Para selecionar la operacion
;
respDw ? ;define un byte
respc Dw 0000h ;define un byte

.CODE


mov al, 03h ;Activa el modo grafico
mov ah, 0
int 10h

mov ax, 1h ;Muestra el puntero del mouse
int 33h


mov dh, 1 ;seteo de posicion del cursor
mov dl, 10
mov bh, 0
mov ah, 2
int 10h


mov al, 1
mov bh, 0
mov bl, 0010_1110b
mov cx, 56; offsetmsg1

mov bp, offset espe
mov ah, 13h
int 10h


mov dh, 3 ;seteo de posicion del cursor
mov dl, 2
mov bh, 0
mov ah, 2
int 10h

mov bl,0011b ;color
mov cx,16h ;tamanio
mov ah,09h ;interrupcion
int 10h

mov ah, 9
mov dx, offset car
int 21h

mov dh, 5 ;seteo de posicion delcursor
mov dl, 2
mov bh, 0
mov ah, 2
int 10h

mov bl,0100b ;color
mov cx,8h ;tamanio
mov ah,09h ;interrupcion
int 10h

mov ah,9
mov dx, offset matg
int 21h

mov ah,02h ;Interupcion para imprimir salto de linea
mov dl,10
int 21h

mov ah,9
mov dx, offset mat
int 21h

mov dh, 8 ;seteo de posicion delcursor
mov dl, 2
mov bh, 0
mov ah, 2
int 10h

mov bl,0100b ;color
mov cx,8h ;tamanio
mov ah,09h ;interrupcion
int 10h

mov ah,9
mov dx, offset namg
int 21h

mov ah,02h ;Interupcion para imprimir salto de linea
mov dl,10
int 21h

mov ah,9h
mov al,'G'
mov bl,1110b
mov cx,1
int 10hmov ah, 2
mov dh, 9 ;seteo de posicion del cursor
mov dl,11
int 10h
mov ah,9h ;Imprecion de caracter
mov al,'u'
mov bl,1011b ;color
int 10h

mov ah, 2
mov dh, 9 ;seteo de posicion del cursor
mov dl,12
int 10h
mov ah,9h ;Imprecion de caracter
mov al,'s'
mov bl,0010b ;color
int 10h
mov ah, 2
movdh, 9 ;seteo de posicion del cursor
mov dl,13
int 10h
mov ah,9h ;Imprecion de caracter
mov al,'t'
mov bl,0011b ;color
int 10h
mov ah, 2
mov dh, 9 ;seteo de posicion del cursor
mov dl,14
int 10h
mov ah,9h ;Imprecion de caracter
mov al,'a'
mov bl,0100b ;color
int 10h
mov ah, 2
mov dh, 9 ;seteo deposicion del cursor
mov dl,15
int 10h
mov ah,9h ;Imprecion de caracter
mov al,'v'
mov bl,0101b ;color
int 10h
mov ah, 2
mov dh, 9 ;seteo de posicion del cursor
mov dl,16
int 10h
mov ah,9h ;Imprecion de caracter
mov al,'o'
mov bl,0110b ;color
int 10h
mov ah, 2
mov dh, 9 ;seteo de posicion del cursor
mov...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Gustavo Ramirez
  • Sr gustavo carracedo
  • MOTIVACION DEL DEPORTISTA GUSTAVO RAMIREZ
  • No sr
  • ramirez
  • Sr
  • Ramirez
  • el SR

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS