Está en la página 1de 9

UNIVERSIDAD NACIONAL DE SAN AGUSTÍN

FACULTAD DE INGENIERÍA DE PRODUCCIÓN Y


SERVICIOS

ESCUELA PROFESIONAL DE INGENIERÍA ELECTRÓNICA

CURSO:
ARQUITECTURA DE COMPUTADORAS

LABORATORIO
Miércoles 7:00 - 8:40 am
GRUPO – G1

INFORME - TAREA 4

Presentado por:

- Cruz Huachaca, Frank Jhonathan 20170307


- Ferreyros Lazo, Boris Jonathan 20171899
- Layme Polanco, Arnold Bill 20162731

Fecha de entrega:

24 de octubre del 2021


Arequipa – Perú
Contenido
ENCONTRAR CÓDIGO MAQUINA DE: ............................................................................................................... 1
a) MOV CX, AX ........................................................................................................................................... 1
b) MOV BL, 23H ......................................................................................................................................... 1
c) MOV DH, [1234H] ................................................................................................................................. 2
d) MOV AH, [BX] ........................................................................................................................................ 3
e) MOV AX, [BX + 34H] .............................................................................................................................. 3
f) MOV AL, [BP + 12H] .............................................................................................................................. 4
g) MOV [BX + SI + 34H], DH....................................................................................................................... 5
h) MOV [BX], AL......................................................................................................................................... 5
i) MOV [SI + 12H], DL................................................................................................................................ 6
BIBLIOGRAFÍA:................................................................................................................................................... 7
ENCONTRAR CÓDIGO MAQUINA DE:

a) MOV CX, AX

Registro/Registro: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 0
➢ w: 1
➢ mod: 1 1
➢ reg: 0 0 0
➢ r/m: 0 0 1

Luego, tenemos:
OPCODE d w mod reg r/m
100010 0 1 11 000 001

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1001 1100 0001


8 9 C 1
89H C1H

Entonces, el código maquina es: 8 9 H C 1 H

b) MOV BL, 23H

Inmediato: Registro/Memoria a/desde Registro


1 0 1 1 w reg data

➢ OPCODE: 1 0 1 1
➢ w: 0
➢ reg: 0 1 1
➢ data: 2 3 H

1
Luego, tenemos:
OPCODE w reg data
1011 0 011 23H

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1011 0011 23H


B 3 23H
B3H 23H

Entonces, el código maquina es: B 3 H 2 3 H

c) MOV DH, [1234H]

Directo: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 1
➢ w: 0
➢ mod: 0 0
➢ reg: 1 1 0
➢ r/m: 1 1 1

Luego, tenemos:
OPCODE d w mod reg r/m
100010 1 0 00 110 110

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1010 0011 0110


8 A 3 6
8AH 36H

Entonces, el código maquina es: 8 A H 3 6 H 3 4 H 1 2 H

2
d) MOV AH, [BX]

Registro base: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 1
➢ w: 0
➢ mod: 0 0
➢ reg: 1 0 0
➢ r/m: 1 1 1

Luego, tenemos:
OPCODE d w mod reg r/m
100010 1 0 00 100 111

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1010 0010 0111


8 A 2 7
8AH 27H

Entonces, el código maquina es: 8 A H 2 7 H

e) MOV AX, [BX + 34H]

Registro base: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 1
➢ w: 1
➢ mod: 0 1
➢ reg: 0 0 0
➢ r/m: 1 1 1

3
Luego, tenemos:
OPCODE d w mod reg r/m
100010 1 1 01 000 111

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1011 0100 0111


8 B 4 7
8BH 47H

Entonces, el código maquina es: 8 B H 4 7 H 3 4 H

f) MOV AL, [BP + 12H]

Registro base: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 1
➢ w: 0
➢ mod: 0 1
➢ reg: 0 0 0
➢ r/m: 1 1 0

Luego, tenemos:
OPCODE d w mod reg r/m
100010 1 0 01 000 110

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1010 0100 0110


8 A 4 6
8AH 46H

Entonces, el código maquina es: 8 A H 4 6 H 1 2 H

4
g) MOV [BX + SI + 34H], DH

Registro base – índice: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 0
➢ w: 0
➢ mod: 0 1
➢ reg: 1 1 0
➢ r/m: 0 0 0

Luego, tenemos:
OPCODE d w mod reg r/m
100010 0 0 01 110 000

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1000 0111 0000


8 8 7 0
88H 70H

Entonces, el código maquina es: 8 8 H 7 0 H 3 4 H

h) MOV [BX], AL

Registro base: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 0
➢ w: 0
➢ mod: 0 0
➢ reg: 0 0 0
➢ r/m: 1 1 1

5
Luego, tenemos:
OPCODE d w mod reg r/m
100010 0 0 00 000 111

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1000 0000 0111


8 8 0 7
88H 07H

Entonces, el código maquina es: 8 8 H 0 7 H

i) MOV [SI + 12H], DL

Registro base: Registro/Memoria a/desde Registro


100010dw mod reg r/m

➢ OPCODE: 1 0 0 0 1 0
➢ d: 0
➢ w: 0
➢ mod: 0 1
➢ reg: 0 1 0
➢ r/m: 1 0 0

Luego, tenemos:
OPCODE d w mod reg r/m
100010 0 0 01 010 100

Finalmente, separamos en 4 bits para transformarlo a hexadecimal:

1000 1000 0101 0100


8 8 5 4
88H 54H

Entonces, el código maquina es: 8 8 H 5 4 H 1 2 H

6
BIBLIOGRAFÍA:

➢ http://www.reenigne.org/crtc/PC-XT.pdf

➢ https://www.tecnologiainformatica.com/componentes-de-unacomputadora/

Hoja de Datos Microprocesador INTEL 8088/8086

➢ http://cv.uoc.edu/annotation/8255a8c320f6
0c2bfd6c9f2ce11b2e7f/619469/PID_0021827 3/PID_00218273.html

También podría gustarte