Preguntas sobre programación de principios de microcomputadoras, ¡urgentes!
Pregunta 1
mov hacha, 1000H
mov ds, hacha
mov si, 50H
mov al, [si]
mov ah, [si+1]
mov bl, [si+2]
mov bh,[si+3 ]
añadir ax, bx
mov [si+4], al
mov [si+5], ah
ésima pregunta 2
xor hacha, hacha
mov [3000H], hacha
mov [3001H], hacha
xor cx, cx
mov si, 2000H
bucle:
mov hacha, [si+cx]
cmp hacha, 3CH
jb sesenta
cmp hacha, 5AH
ja noventa
siguiente:
inc cx
cmp cx, 64H
bucle jnz
HLT
sesenta:
inc [3000H]
jmp siguiente
noventa:
inc [3001H]
jmp siguiente