Skip to content

Commit bf22c53

Browse files
committed
PROYECTO UNIDAD 2
1 parent d34514a commit bf22c53

File tree

70 files changed

+208
-134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+208
-134
lines changed

.vs/PM_U2_Q2/v16/.suo

-25.5 KB
Binary file not shown.

.vs/PM_U2_Q2/v16/Browse.VC.db

0 Bytes
Binary file not shown.

Debug/PM_U2_Q2.exe

0 Bytes
Binary file not shown.

Debug/PM_U2_Q2.pdb

32 KB
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/EJ2_Manhattan.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/EJ7.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/EJEMMA_PR3_PARES.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET2_PR2_Manhattan.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ETPB_2_Manhattan.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET_1_Areas.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET_3_Sueldo.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET_4_Edad.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET_6_Pinturas.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET_7_Autobuses.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET_8_CONAGUA.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/ET_9_CFE.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/Ej6.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/PM_U2_Q2.ilk

28 KB
Binary file not shown.

PM_U2_Q2/Debug/PM_U2_Q2.log

+1-102
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,2 @@
1-
 Assembling EJ23-CICLOSANIDADOSCONPILA.asm...
2-
Assembling EJ2_Manhattan.asm...
3-
Assembling Ej6.asm...
4-
Assembling EJ7.asm...
5-
Assembling EJEMMA_PR2_FIBONACCI.asm...
6-
Assembling EJEMMA_PR3_PARES.asm...
7-
Assembling EJEMMA_PR4_DISCRIMINANTE.asm...
8-
Assembling Ejercicio_5_SumaHastaNeg.asm...
9-
Assembling EJPABLO_PR1_FACTORIAL.asm...
10-
Assembling EJPABLO_PR5_PORCENTAJE.asm...
11-
Assembling Ej_4_LeerNumerosPositivos.asm...
12-
Assembling ET2_PR2_Manhattan.asm...
13-
Assembling ETPB_2_Manhattan.asm...
14-
Assembling ET_7_Autobuses.asm...
15-
Assembling ET_1_Areas.asm...
16-
Assembling ET_3_Sueldo.asm...
17-
Assembling ET_4_Edad.asm...
18-
Assembling ET_6_Pinturas.asm...
19-
Assembling ET_8_CONAGUA.asm...
20-
Assembling ET_9_CFE.asm...
21-
Assembling IMPRIMIRNPARES_PR3_P2.asm...
22-
Assembling P_0_plantilla.asm...
23-
Assembling P_10_Promedio5Numeros.asm...
24-
Assembling P_11_AreaRectangulo_.asm...
25-
Assembling P_12_IntroSaltosIncondicionales_.asm...
26-
Assembling P_13_SaltosCondicionales.asm...
27-
Assembling P_14_NumeroPar_.asm...
28-
Assembling P_15_ImprimirSerie_.asm...
29-
Assembling P_16_XalaY_.asm...
30-
Assembling P_17_Checar2Num_.asm...
31-
Assembling P_18_LeerHastaNegativos_.asm...
32-
Assembling P_19_IntroPila_.asm...
33-
Assembling P_1_TransferenciaDatos.asm...
34-
Assembling P_20_CiclosAnidados1_.asm...
35-
Assembling P_21_TablaMultiplicar.asm...
36-
Assembling P_22_TablaMultiplicarConPila.asm...
37-
Assembling P_2_IntroOpArit.asm...
38-
Assembling P_3_EscrituraEnPantalla.asm...
39-
Assembling P_4_LeerDatosConsola.asm...
40-
Assembling P_5_ImprimeCadenenconsola.asm...
41-
Assembling P_6_Op_SUB_.asm...
42-
Assembling P_7_Multiplicacion_.asm...
43-
Assembling P_8_Division_.asm...
44-
Assembling P_9_EcuacionLineaRecta.asm...
45-
Assembling Unidad3_cuartojercicio_.asm...
46-
Assembling Unidad3_primerejercicio_macros_.asm...
47-
Assembling Unidad3_quintoejercicio.asm...
48-
Assembling Unidad3_segundoejercicio_.asm...
49-
Assembling Unidad3_septimoejercicio.asm...
50-
Assembling Unidad3_sextoejercicio.asm...
51-
Assembling Unidad3_tercerjercicio_.asm...
52-
EJ23-CICLOSANIDADOSCONPILA.obj : warning LNK4258: la directiva '/ENTRY:main83@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
53-
EJ2_Manhattan.obj : warning LNK4258: la directiva '/ENTRY:main39@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
54-
Ej6.obj : warning LNK4258: la directiva '/ENTRY:main29@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
55-
EJ7.obj : warning LNK4258: la directiva '/ENTRY:main30@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
56-
EJEMMA_PR2_FIBONACCI.obj : warning LNK4258: la directiva '/ENTRY:main72@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
57-
EJEMMA_PR3_PARES.obj : warning LNK4258: la directiva '/ENTRY:main94@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
58-
EJEMMA_PR4_DISCRIMINANTE.obj : warning LNK4258: la directiva '/ENTRY:main71@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
59-
Ejercicio_5_SumaHastaNeg.obj : warning LNK4258: la directiva '/ENTRY:main24@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
60-
EJPABLO_PR1_FACTORIAL.obj : warning LNK4258: la directiva '/ENTRY:main81@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
61-
EJPABLO_PR5_PORCENTAJE.obj : warning LNK4258: la directiva '/ENTRY:main80@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
62-
Ej_4_LeerNumerosPositivos.obj : warning LNK4258: la directiva '/ENTRY:main23@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
63-
ET2_PR2_Manhattan.obj : warning LNK4258: la directiva '/ENTRY:main92@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
64-
ETPB_2_Manhattan.obj : warning LNK4258: la directiva '/ENTRY:main41@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
65-
ET_7_Autobuses.obj : warning LNK4258: la directiva '/ENTRY:main35@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
66-
ET_1_Areas.obj : warning LNK4258: la directiva '/ENTRY:main36@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
67-
ET_3_Sueldo.obj : warning LNK4258: la directiva '/ENTRY:main34@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
68-
ET_4_Edad.obj : warning LNK4258: la directiva '/ENTRY:main31@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
69-
ET_6_Pinturas.obj : warning LNK4258: la directiva '/ENTRY:main32@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
70-
ET_8_CONAGUA.obj : warning LNK4258: la directiva '/ENTRY:main33@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
71-
ET_9_CFE.obj : warning LNK4258: la directiva '/ENTRY:main40@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
72-
IMPRIMIRNPARES_PR3_P2.obj : warning LNK4258: la directiva '/ENTRY:main74@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
73-
P_0_plantilla.obj : warning LNK4258: la directiva '/ENTRY:main@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
74-
P_10_Promedio5Numeros.obj : warning LNK4258: la directiva '/ENTRY:main10@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
75-
P_11_AreaRectangulo_.obj : warning LNK4258: la directiva '/ENTRY:main11@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
76-
P_12_IntroSaltosIncondicionales_.obj : warning LNK4258: la directiva '/ENTRY:main12@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
77-
P_13_SaltosCondicionales.obj : warning LNK4258: la directiva '/ENTRY:main13@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
78-
P_14_NumeroPar_.obj : warning LNK4258: la directiva '/ENTRY:main14@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
79-
P_15_ImprimirSerie_.obj : warning LNK4258: la directiva '/ENTRY:main15@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
80-
P_16_XalaY_.obj : warning LNK4258: la directiva '/ENTRY:main16@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
81-
P_17_Checar2Num_.obj : warning LNK4258: la directiva '/ENTRY:main17@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
82-
P_18_LeerHastaNegativos_.obj : warning LNK4258: la directiva '/ENTRY:main18@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
83-
P_19_IntroPila_.obj : warning LNK4258: la directiva '/ENTRY:main19@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
84-
P_1_TransferenciaDatos.obj : warning LNK4258: la directiva '/ENTRY:main1@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
85-
P_20_CiclosAnidados1_.obj : warning LNK4258: la directiva '/ENTRY:main20@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
86-
P_21_TablaMultiplicar.obj : warning LNK4258: la directiva '/ENTRY:main21@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
87-
P_22_TablaMultiplicarConPila.obj : warning LNK4258: la directiva '/ENTRY:main22@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
88-
P_2_IntroOpArit.obj : warning LNK4258: la directiva '/ENTRY:main2@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
89-
P_3_EscrituraEnPantalla.obj : warning LNK4258: la directiva '/ENTRY:main3@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
90-
P_4_LeerDatosConsola.obj : warning LNK4258: la directiva '/ENTRY:main4@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
91-
P_5_ImprimeCadenenconsola.obj : warning LNK4258: la directiva '/ENTRY:main5@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
92-
P_6_Op_SUB_.obj : warning LNK4258: la directiva '/ENTRY:main6@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
93-
P_7_Multiplicacion_.obj : warning LNK4258: la directiva '/ENTRY:main7@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
94-
P_8_Division_.obj : warning LNK4258: la directiva '/ENTRY:main8@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
95-
P_9_EcuacionLineaRecta.obj : warning LNK4258: la directiva '/ENTRY:main9@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
96-
Unidad3_cuartojercicio_.obj : warning LNK4258: la directiva '/ENTRY:main87@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
97-
Unidad3_primerejercicio_macros_.obj : warning LNK4258: la directiva '/ENTRY:main84@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
98-
Unidad3_quintoejercicio.obj : warning LNK4258: la directiva '/ENTRY:main88@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
99-
Unidad3_segundoejercicio_.obj : warning LNK4258: la directiva '/ENTRY:main85@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
100-
Unidad3_septimoejercicio.obj : warning LNK4258: la directiva '/ENTRY:main90@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
101-
Unidad3_sextoejercicio.obj : warning LNK4258: la directiva '/ENTRY:main89@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
102-
Unidad3_tercerjercicio_.obj : warning LNK4258: la directiva '/ENTRY:main86@0' no es compatible con el modificador '/ENTRY:main90'; se ha omitido
1+
 Assembling proyecto_multiplicaciones.asm...
1032
PM_U2_Q2.vcxproj -> C:\Users\EMMANUEL\source\repos\PM_U2_Q2\Debug\PM_U2_Q2.exe
320 Bytes
Binary file not shown.
660 Bytes
Binary file not shown.
482 Bytes
Binary file not shown.
202 Bytes
Binary file not shown.
336 Bytes
Binary file not shown.

PM_U2_Q2/Debug/PROYECTOUNIDAD2.obj

7.51 KB
Binary file not shown.

PM_U2_Q2/Debug/P_0_plantilla.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/P_14_NumeroPar_.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/P_16_XalaY_.obj

0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/P_17_Checar2Num_.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/P_19_IntroPila_.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/P_2_IntroOpArit.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/P_6_Op_SUB_.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

PM_U2_Q2/Debug/P_8_Division_.obj

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
7 Bytes
Binary file not shown.
7.72 KB
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
9.34 KB
Binary file not shown.

PM_U2_Q2/PM_U2_Q2.lst

+112-28
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Microsoft (R) Macro Assembler Version 14.29.30133.0 02/27/23 20:40:09
1+
Microsoft (R) Macro Assembler Version 14.29.30133.0 03/09/23 18:09:51
22
NombreProgram Page 1 - 1
33

44

@@ -35,33 +35,103 @@ Microsoft (R) Macro Assembler Version 14.29.30133.0 02/27/23 20:40:09
3535

3636
00000000 .data
3737
; �rea de Declaraci�n de Variables
38+
00000000 49 6E 67 72 65 msg1 db "Ingrese un numero: ",0
39+
73 65 20 75 6E
40+
20 6E 75 6D 65
41+
72 6F 3A 20 00
42+
00000014 20 78 20 00 msg2 db " x ",0
43+
00000018 20 3D 20 00 msg3 db " = ",0
44+
0000001C 52 65 73 70 75 msg4 db "Respuesta: ",0
45+
65 73 74 61 3A
46+
20 00
47+
00000028 A1 43 6F 72 72 msg5 db "�Correcto!",0
48+
65 63 74 6F 21
49+
00
50+
00000033 49 6E 63 6F 72 msg6 db "Incorrecto, intente nuevamente.",0
51+
72 65 63 74 6F
52+
2C 20 69 6E 74
53+
65 6E 74 65 20
54+
6E 75 65 76 61
55+
6D 65 6E 74 65
56+
2E 00
57+
00000053 73 65 20 61 63 msg7 db "se acabo el juego ya se te acabaron las vidas:(",0
58+
61 62 6F 20 65
59+
6C 20 6A 75 65
60+
67 6F 20 79 61
61+
20 73 65 20 74
62+
65 20 61 63 61
63+
62 61 72 6F 6E
64+
20 6C 61 73 20
65+
76 69 64 61 73
66+
3A 28 00
67+
00000083 00000000 num DWORD 0
68+
00000087 00000000 resultado DWORD 0d
69+
0000008B 00000000 respuesta DWORD 0d
70+
0000008F 00000005 vidas DWORD 5d
3871

39-
40-
41-
00000000 00000064 var1 dword 100d
4272
00000000 .code
43-
44-
00000000 main86 PROC
73+
00000000 main107 PROC
4574

46-
;L�gica del Programa
47-
48-
00000000 B8 0000000A mov eax, 10
49-
00000005 E8 00000000 E call randomrange ; 0-eax = eax
50-
0000000A E8 00000000 E call writedec
51-
52-
53-
54-
55-
56-
exit
57-
58-
59-
60-
61-
00000016 main86 ENDP
75+
; L�gica del Programa
76+
00000000 BA 00000000 R mov edx, OFFSET msg1 ; Imprime el mensaje pidiendo el n�mero
77+
00000005 E8 00000000 E call WriteString
78+
0000000A E8 00000000 E call ReadInt ; Lee el n�mero ingresado por el usuario
79+
0000000F A3 00000083 R mov num, eax ; Guarda el n�mero en la variable num
80+
81+
00000014 B9 00000001 mov ecx, 1 ; Inicia el contador de la tabla de multiplicar en 1
82+
83+
00000019 mientras:
84+
00000019 A1 00000083 R mov eax, num ; Multiplica el n�mero ingresado por el contador
85+
0000001E F7 E1 mul ecx
86+
00000020 A3 00000087 R mov resultado, eax ; Guarda el resultado de la multiplicaci�n en la variable resultado
87+
88+
00000025 A1 00000083 R mov eax, num ; Imprime el n�mero ingresado
89+
0000002A E8 00000000 E call WriteDec
90+
0000002F BA 00000014 R mov edx, OFFSET msg2 ; Imprime la "x"
91+
00000034 E8 00000000 E call WriteString
92+
00000039 8B C1 mov eax, ecx ; Imprime el contador actual
93+
0000003B E8 00000000 E call WriteDec
94+
00000040 BA 00000018 R mov edx, OFFSET msg3 ; Imprime el "="
95+
00000045 E8 00000000 E call WriteString
96+
97+
0000004A BA 0000001C R mov edx, OFFSET msg4 ; Pide al usuario que ingrese la respuesta
98+
0000004F E8 00000000 E call WriteString
99+
00000054 E8 00000000 E call ReadInt ; Lee la respuesta ingresada por el usuario se guarda en eax
100+
101+
00000059 3B 05 00000087 R cmp eax, resultado
102+
0000005F 74 02 je correcto
103+
00000061 75 0A jne incorrecto
104+
105+
00000063 correcto:
106+
00000063 83 C1 01 add ecx, 1 ; Incrementa el contador
107+
00000066 83 F9 0B cmp ecx, 11 ; Compara el contador con 11 (10 veces)
108+
00000069 75 AE jne mientras ; Si el contador es menor a 11, repite el ciclo
109+
0000006B EB 33 jmp salir
110+
111+
0000006D incorrecto:
112+
0000006D BA 00000033 R mov edx, OFFSET msg6 ;
113+
00000072 E8 00000000 E call WriteString
114+
00000077 E8 00000000 E call crlf
115+
0000007C FF 0D 0000008F R dec vidas
116+
00000082 A1 0000008F R mov eax , vidas
117+
00000087 E8 00000000 E call writedec
118+
0000008C E8 00000000 E call crlf
119+
00000091 83 3D 0000008F R cmp vidas , 0
120+
00
121+
00000098 74 06 je salir
122+
123+
0000009A 0F 85 FFFFFF79 jne mientras ; Si el contador es menor a 11, repite el ciclo
124+
125+
000000A0 salir:
126+
000000A0 BA 00000053 R mov edx, OFFSET msg7 ;
127+
000000A5 E8 00000000 E call WriteString
128+
exit
129+
130+
62131

63-
END main86
64-
Microsoft (R) Macro Assembler Version 14.29.30133.0 02/27/23 20:40:09
132+
000000B1 main107 ENDP
133+
END main107
134+
Microsoft (R) Macro Assembler Version 14.29.30133.0 03/09/23 18:09:51
65135
NombreProgram Symbols 2 - 1
66136

67137

@@ -155,8 +225,8 @@ Segments and Groups:
155225

156226
FLAT . . . . . . . . . . . . . . GROUP
157227
STACK . . . . . . . . . . . . . 32 Bit 00001000 Para Stack 'STACK'
158-
_DATA . . . . . . . . . . . . . 32 Bit 00000004 Para Public 'DATA'
159-
_TEXT . . . . . . . . . . . . . 32 Bit 00000016 Para Public 'CODE'
228+
_DATA . . . . . . . . . . . . . 32 Bit 00000093 Para Public 'DATA'
229+
_TEXT . . . . . . . . . . . . . 32 Bit 000000B1 Para Public 'CODE'
160230

161231

162232
Procedures, parameters, and locals:
@@ -263,7 +333,11 @@ WriteStackFrame . . . . . . . . P Near 00000000 FLAT Length= 00000000 External
263333
WriteString . . . . . . . . . . P Near 00000000 FLAT Length= 00000000 External STDCALL
264334
WriteToFile . . . . . . . . . . P Near 00000000 FLAT Length= 00000000 External STDCALL
265335
WriteWindowsMsg . . . . . . . . P Near 00000000 FLAT Length= 00000000 External STDCALL
266-
main86 . . . . . . . . . . . . . P Near 00000000 _TEXT Length= 00000016 Public STDCALL
336+
main107 . . . . . . . . . . . . P Near 00000000 _TEXT Length= 000000B1 Public STDCALL
337+
mientras . . . . . . . . . . . L Near 00000019 _TEXT
338+
correcto . . . . . . . . . . . L Near 00000063 _TEXT
339+
incorrecto . . . . . . . . . . L Near 0000006D _TEXT
340+
salir . . . . . . . . . . . . L Near 000000A0 _TEXT
267341
printf . . . . . . . . . . . . . P Near 00000000 FLAT Length= 00000000 External C
268342
scanf . . . . . . . . . . . . . P Near 00000000 FLAT Length= 00000000 External C
269343
wsprintfA . . . . . . . . . . . P Near 00000000 FLAT Length= 00000000 External C
@@ -496,8 +570,18 @@ lightGreen . . . . . . . . . . . Number 0000000Ah
496570
lightMagenta . . . . . . . . . . Number 0000000Dh
497571
lightRed . . . . . . . . . . . . Number 0000000Ch
498572
magenta . . . . . . . . . . . . Number 00000005h
573+
msg1 . . . . . . . . . . . . . . Byte 00000000 _DATA
574+
msg2 . . . . . . . . . . . . . . Byte 00000014 _DATA
575+
msg3 . . . . . . . . . . . . . . Byte 00000018 _DATA
576+
msg4 . . . . . . . . . . . . . . Byte 0000001C _DATA
577+
msg5 . . . . . . . . . . . . . . Byte 00000028 _DATA
578+
msg6 . . . . . . . . . . . . . . Byte 00000033 _DATA
579+
msg7 . . . . . . . . . . . . . . Byte 00000053 _DATA
580+
num . . . . . . . . . . . . . . DWord 00000083 _DATA
499581
red . . . . . . . . . . . . . . Number 00000004h
500-
var1 . . . . . . . . . . . . . . DWord 00000000 _DATA
582+
respuesta . . . . . . . . . . . DWord 0000008B _DATA
583+
resultado . . . . . . . . . . . DWord 00000087 _DATA
584+
vidas . . . . . . . . . . . . . DWord 0000008F _DATA
501585
white . . . . . . . . . . . . . Number 0000000Fh
502586
wsprintf . . . . . . . . . . . . Text wsprintfA
503587
yellow . . . . . . . . . . . . . Number 0000000Eh

PM_U2_Q2/PM_U2_Q2.vcxproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<MASM Include="ET_8_CONAGUA.asm" />
4141
<MASM Include="ET_9_CFE.asm" />
4242
<MASM Include="IMPRIMIRNPARES_PR3_P2.asm" />
43+
<MASM Include="proyecto_multiplicaciones.asm" />
4344
<MASM Include="P_0_plantilla.asm" />
4445
<MASM Include="P_10_Promedio5Numeros.asm" />
4546
<MASM Include="P_11_AreaRectangulo_.asm" />
@@ -150,7 +151,7 @@
150151
<Link>
151152
<SubSystem>Console</SubSystem>
152153
<GenerateDebugInformation>true</GenerateDebugInformation>
153-
<EntryPointSymbol>main90</EntryPointSymbol>
154+
<EntryPointSymbol>main107</EntryPointSymbol>
154155
</Link>
155156
<MASM>
156157
<IncludePaths>c:/Irvine</IncludePaths>

PM_U2_Q2/PM_U2_Q2.vcxproj.filters

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
<MASM Include="Unidad3_sextoejercicio.asm" />
8888
<MASM Include="Unidad3_septimoejercicio.asm" />
8989
<MASM Include="Unidad3_octavoejercicio.asm" />
90+
<MASM Include="proyecto_multiplicaciones.asm" />
9091
</ItemGroup>
9192
<ItemGroup>
9293
<Object Include="..\..\..\..\..\..\Irvine\Lib32\Irvine32_Library\Irvine32.obj" />

PM_U2_Q2/Unidad3_cuartojercicio_.asm

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ INCLUDE Irvine32.inc
2020
var1 dword 100d
2121
.code
2222

23-
main87 PROC
23+
main501 PROC
2424
2525
;Lógica del Programa
2626
@@ -41,6 +41,6 @@ var1 dword 100d
4141
4242
4343

44-
main87 ENDP
44+
main501 ENDP
4545
46-
END main87
46+
END main501

0 commit comments

Comments
 (0)