Sei sulla pagina 1di 17

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0000H

MEMORIA

MEMORIA Direccin PC Contenido

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0000H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0000H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0000H

MEMORIA

MEMORIA Direccin PC Contenido

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0000H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0000H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

BUS DE DATOS

A= ??

BUS DE DATOS

A= ??

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0000H

MEMORIA

86H

MEMORIA Direccin PC Contenido

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0000H

CPU

BUS DE DATOS BUS DE DATOS


BUS DE DATOS

A= ??

86H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0000H

E/S

86H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0001H

MEMORIA

MEMORIA Direccin PC Contenido

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0001H

A= ?? CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0001H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0001H

MEMORIA

MEMORIA Direccin PC Contenido

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0001H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0001H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0001H

MEMORIA

BUS DE DATOS

A= ??

0AH

MEMORIA Direccin PC Contenido

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0001H

CPU

BUS DE DATOS

A= 0A

0AH

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0001H

E/S

0AH

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0002H

MEMORIA

MEMORIA Direccin Contenido

ADD A, 05h
0002H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0002H

: 2000h 2001h :

: ??h ??h :

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0002H

MEMORIA

MEMORIA Direccin Contenido

ADD A, 05h
0002H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0002H

: 2000h 2001h :

: ??h ??h :

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

BUS DE DATOS

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

A= 0A

BUS DE DATOS

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

A= 0A

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0002H

MEMORIA

8BH

MEMORIA Direccin Contenido

ADD A, 05h
0002H

CPU

BUS DE DATOS BUS DE DATOS


BUS DE DATOS

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

A= 0A

8BH

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0002H

E/S

8BH

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0003H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0003H

A= 0A CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0003H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0003H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0003H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0003H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0003H

MEMORIA

BUS DE DATOS

A= 0A

05H

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0003H

CPU

BUS DE DATOS

A= 0A

05H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0003H

E/S

05H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h STORE 2000h, A

CPU

BUS DE CONTROL

OUT 80h, A

E/S

BUS DE DATOS

A= 0F

05H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0004H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0004H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0004H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

BUS DE DATOS

A= 0F

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0004H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0004H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0004H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0004H

MEMORIA

BUS DE DATOS

A= 0F

B7H

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0004H

CPU

BUS DE DATOS

A= 0F

B7H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0004H

E/S

B7H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0005H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0005H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0005H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0005H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0005H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0005H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

BUS DE DATOS

A= 0F

BUS DE DATOS

A= 0F

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0005H

MEMORIA

20H

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0005H

CPU

BUS DE DATOS BUS DE DATOS


BUS DE DATOS

A= 0F

20H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0005H

E/S

20H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0006H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0006H

A= 0F CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0006H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

10

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0006H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0006H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0006H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0006H

MEMORIA

BUS DE DATOS

A= 0F

00H

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0006H

CPU

BUS DE DATOS

A= 0F

00H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0006H

E/S

00H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

11

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0006H

MEMORIA

00H

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0006H

CPU

BUS DE DATOS BUS DE DATOS


BUS DE DATOS

A= 0F

00H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0006H

E/S

00H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

2000H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


:

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
2000H

A= 0F CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
2000H

E/S

APTR

2000h 2001h :

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

12

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

2000H

MEMORIA

0FH

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : ??h ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
2000H

CPU

BUS DE DATOS
BUS DE DATOS

A= 0F

0FH

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
2000H

E/S

0FH

APTR

2000h 2001h :

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

2000H

MEMORIA

0FH

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


:

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: 0Fh ??h :

WR

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
2000H

CPU

BUS DE DATOS

A= 0F

0FH

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
2000H

E/S

0FH

APTR

2000h 2001h :

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

13

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0007H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : 0Fh ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0007H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0007H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0007H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: 0Fh ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0007H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0007H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

BUS DE DATOS

A= 0F

BUS DE DATOS

A= 0F

14

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0007H

MEMORIA

C7H

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : 0Fh ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0007H

CPU

BUS DE DATOS BUS DE DATOS


BUS DE DATOS

A= 0F

C7H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0007H

E/S

C7H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0008H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: 0Fh ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0008H

A= 0F CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0008H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

15

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0008H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : 0Fh ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0008H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0008H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0008H

MEMORIA

BUS DE DATOS

A= 0F

80H

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: 0Fh ??h :

RD

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0008H

CPU

BUS DE DATOS

A= 0F

80H

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0008H

E/S

80H

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

16

8/23/2011

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0080H

MEMORIA

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h : 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h : 0Fh ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0080H

CPU

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0080H

E/S

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

Ejecucin de un programa por el CPU


Programa
BUS DE DIRECCIONES BUS DE DATOS

1. Carga 10 al acumulador 2. Sumar 5 al acumulador 3. Salvar acumulador en la direccin 2000h 4. Sacar acumulador al puerto 80h

0080H

MEMORIA

BUS DE DATOS

A= 0F

0FH

MEMORIA Direccin Contenido

PC

0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h


: 2000h 2001h :

86h 0Ah 8Bh 05h B7h 20h 00h C7h 80h


: 0Fh ??h :

LOAD A, 0Ah
BUS DE DIRECCIONES

BUS DE CONTROL

ADD A, 05h
0080H

CPU

BUS DE DATOS

A= 0F

0FH

STORE 2000h, A

BUS DE CONTROL

OUT 80h, A
0080H

WR

E/S

0FH

PUERTO 85H
0 4 8 C 1 5 9 D 2 6 A E 3 7 B F

PUERTO 80H

Notas sobre el sistema: Ducto de Direcciones : 16 bits Ducto de Datos: 8 bits

17

Potrebbero piacerti anche