Está en la página 1de 3

4TO LABORATORIO.

Arquitectura y Organizacin del Computador

Anampa Martinez Vaner Americo COD: 100964B

Microsoft (R) Macro Assembler Version 5.10 Page 1-1 0000 pila segment stack 0000 0064[ db 100 dup ('pila') 70 69 6C 61 ] 0190 0000 0000 CA 0001 0000 0000 0000 0001 0003 0004 0007 0009 000C 000D 1E 2B C0 50 B8 ---- R 8E D8 E8 000D R CB pila ends Datos segment dato db 11001010b Datos ends

12/3/13 11:16:47

Codigo segment Principal proc far assume cs:Codigo, ds:Datos, ss:pila push ds sub ax, ax push ax mov ax, datos mov ds, ax call operacion ret Principal endp operacion proc mov al, dato mov bl, 00h mov cl, 1 ror al, cl or bl, al mov cl, 4 rol al, cl and bl, al mov ch,00h or ch, bl mov bh, 00h mov cl, 2 rol al,cl or bl, al mov al,dato mov cl,1 rol al,cl and bh,al or bl,bh

000D 000D A0 0000 R 0010 B3 00 0012 B1 01 0014 D2 C8 0016 0A D8 0018 B1 04 001A D2 C0 001C 22 D8 001E B5 00 0020 0A EB 0022 B7 00 0024 B1 02 0026 D2 C0 0028 0A D8 002A A0 0000 R 002D B1 01 002F D2 C0 0031 22 F8 0033 0A DF

0035 B1 01 0037 D2 C8 0039 22 D8 003B 0A DD 003D B1 01 003F D2 C0 0041 0A D8 0043 C3 0044 0044

mov cl,1 ror al,cl and bl,al or bl,ch mov cl,1 rol al,cl or bl, al ret operacion endp codigo ends end Principal 12/3/13 11:16:47

Microsoft (R) Macro Assembler Version 5.10 Symbols-1 Segments and Groups: Name Length Align Combine Class 0044 PARA NONE 0001 PARA NONE PARA STACK

CODIGO . . . . . . . . . . . . . DATOS . . . . . . . . . . . . . PILA . . . . . . . . . . . . . . 0190 Symbols: Name Type

Value Attr DATOS CODIGO CODIGO Length = 0037 Length = 000D

DATO . . . . . . . . . . . . . . L BYTE 0000 OPERACION . . . . . . . . . . . PRINCIPAL . . . . . . . . . . . @CPU . . . . . . . . . . . . . . @FILENAME . . . . . . . . . . . @VERSION . . . . . . . . . . . .

N PROC 000D F PROC 0000 TEXT 0101h TEXT lab4 TEXT 510

51 Source Lines 51 Total Lines 11 Symbols 46990 + 439150 Bytes symbol space free 0 Warning Errors 0 Severe Errors

También podría gustarte