<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>ARQ 2022-2 - Taller programación en assembler (Semana 5) by Geraldo Colchado</title>
      <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb</link>
      <description>Escoja un enunciado y elabore un programa en assembler. Copie y pegue el texto del programa y una imagen con la ejecución y resultado; coloque como título su nombre y apellido.</description>
      <language>en-us</language>
      <pubDate>2022-09-16 17:46:53 UTC</pubDate>
      <lastBuildDate>2026-03-14 21:16:21 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f4bb.png</url>
      </image>
      <item>
         <title>Leonardo Ferreyra</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300610901</link>
         <description><![CDATA[<div>; Factorial de 5 en A<br>	JMP start	; Salta a etiqueta start<br><br>nume: 	DB 1		; Variable número<br>fact: 	DB 5		; Variable potencia<br><br>start:<br>	MOV A, [nume] 	; Copia contenido de nume a registro A<br>	MOV C, [nume]<br>	CALL factorial	; Llama a función con etiqueta potencia<br>	HLT		; Detiene la ejecución del programa<br><br>factorial:<br>	MOV B, 1	; Inicializa registro B en valor 1 para contar<br>.loop:	<br>	INC C;<br>	MOV [nume], C<br>	MUL [nume]	; Multiplica contenido de nume por registro A&nbsp;<br>	INC B		; Aumenta en 1 el contador<br>	CMP B, [fact]	; Compara registro B con potencia si son =<br>	JB .loop	; If B pote salta a .loop<br>	<br>	RET		; Sale de función<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810044424/9afba331f0974728916c4e758f1935bb/image.png" />
         <pubDate>2022-09-16 23:12:18 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300610901</guid>
      </item>
      <item>
         <title>Gamarra Vega Anderson Jose William</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300611148</link>
         <description><![CDATA[<div>; Factorial 5<br>	JMP main<br><br>number1: DB 5<br>main:<br>	MOV A,[number1]<br>	<br>factorial:<br>	MOV B, 1<br>.loop:<br>	MUL B<br>	INC B<br>	CMP B, [number1]<br>	JB .loop<br>	RET<br>	<br><br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810044351/5fbe49cfc15ff12c7e70224bdce8b044/image.png" />
         <pubDate>2022-09-16 23:13:04 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300611148</guid>
      </item>
      <item>
         <title>Sebastian Enrique Castro Soto</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300616020</link>
         <description><![CDATA[<div>; Factorial de 5 en registro A<br>	JMP start	; Salta a etiqueta start<br><br>nume: 	DB 5		; Variable número<br><br>start:<br>	MOV A, [nume] 	; Copia contenido de nume a registro A<br>	CALL factorial	; Llama a función con etiqueta potencia<br>	MOV B, 0<br>	MOV C, 0<br>	HLT		; Detiene la ejecución del programa<br><br>factorial:<br>	MOV B, 1;<br>.loop:	<br><br>	MOV C, [nume]<br>	SUB C, 1<br>	MOV [nume], C<br>	MUL [nume]<br>	INC B	<br>	CMP B, 4<br>	JB .loop	<br>	RET		<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810053322/4ce0ebe3826e22440d43de024895f6c2/image.png" />
         <pubDate>2022-09-16 23:29:05 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300616020</guid>
      </item>
      <item>
         <title>Claudia Letizia Sifuentes Mendieta</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300618488</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810043809/8b2b2c6768e0b4a68d975f393f981061/image.png" />
         <pubDate>2022-09-16 23:36:48 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300618488</guid>
      </item>
      <item>
         <title>Chicana Romero, Marzzio Braulio</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300618790</link>
         <description><![CDATA[<div>; Calcular el factorial de 5<br><br>	JMP start<br><br>nume: 	DB 5<br>resultado:<br><br>start:<br>	MOV A, 1<br>	CALL factorial<br>	MOV [resultado], A<br>	MOV C, [resultado]<br>	HLT<br><br>factorial:<br>	MOV B, 1<br>.loop:	<br>	INC B<br>	MUL B<br>	CMP B, [nume]<br>	JB .loop<br>	<br>	RET</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810043872/64763d6f5fc2800462c59db3190bcda8/image.png" />
         <pubDate>2022-09-16 23:37:45 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300618790</guid>
      </item>
      <item>
         <title>ejercicio por George Aliaga Pimentel</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300620209</link>
         <description><![CDATA[<div>; Compara dos números a y b, si son iguales muestra su multiplicación y sin son diferentes muestra su resta a - b en registro A<br><br>	JMP start	; Salta a etiqueta start<br><br>nume1:	DB 7		; Variable número 1<br>nume2:	DB 8		; Variable número 2<br><br>start:<br>&nbsp; &nbsp; &nbsp; &nbsp; MOV B, [nume1];<br>&nbsp; &nbsp; &nbsp; &nbsp; CMP B, [nume2];	 &nbsp;<br>	JNE noIGUAL	; Llama a función con etiqueta noIgual<br>&nbsp; &nbsp; &nbsp; &nbsp; MUL [nume2];<br>	HLT		; Detiene la ejecución del programa<br><br>noIGUAL:<br>	MOV A, [nume1]	; Copia contenido de nume1 a registro A<br>	SUB A, [nume2]	; Resta contenido de nume2 a registro A<br>	RET		; Sale de función</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-09-16 23:42:02 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300620209</guid>
      </item>
      <item>
         <title>Camila Conde</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300620540</link>
         <description><![CDATA[<div>; compara dos numeros&nbsp;<br><br>	JMP start:<br><br>numea: DB 5<br>numeb: DB 3<br><br>start:<br>&nbsp;	MOV A, [numea]<br>	CMP A, [numeb]<br>	JBE iguales<br>	CALL diferentes<br><br>diferentes:<br>	SUB A,[numeb]<br>	HLT<br>iguales:<br>	MUL [numeb]<br>	HLT<br>	<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810044215/4c7268abad5a2b9c402f407223b86fa3/Screenshot_1.png" />
         <pubDate>2022-09-16 23:43:03 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300620540</guid>
      </item>
      <item>
         <title>Chicana Romero, Marzzio Braulio</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300621931</link>
         <description><![CDATA[<div>; Calcular suma de numeros impares<br><br>	JMP start<br><br>nume: 	DB 4<br>contador: DB 1<br><br>start:<br>	MOV A, 1<br>	MOV C, [contador]<br>	CALL suma_impar<br>	HLT<br><br>suma_impar:<br>	MOV B, 1<br>.loop:	<br>	INC B<br>	INC B<br>	INC C<br>	ADD A, B<br>	CMP C, [nume]<br>	JB .loop<br>	<br>	RET</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810043872/95ab5fbc54080e9b49a66bd195971cbe/image.png" />
         <pubDate>2022-09-16 23:47:08 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300621931</guid>
      </item>
      <item>
         <title>Pacheco Astiguetta, Sebastian</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300623059</link>
         <description><![CDATA[<div>; Compara dos numeros A y B, si son iguales muestra mult, si son diferentes muestra resta en registro A<br><br>	JMP start<br><br>num1: DB 5<br>num2: DB 5<br><br>start:<br>	MOV A, [num1]<br>	CMP A, [num2]<br>	JE .igual<br>	JNE .diferente<br>	JMP end<br><br>.igual:<br>	MUL [num2]<br>	JMP end<br>.diferente:<br>	SUB A, [num2]<br>	JMP end<br><br>end:<br>	HLT</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810055559/c6f22fee8eaa1ec91f34a8b46226795c/image.png" />
         <pubDate>2022-09-16 23:50:06 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300623059</guid>
      </item>
      <item>
         <title>Christian Jose Zeta Valenzuela</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300624152</link>
         <description><![CDATA[<div>; Calcular el factorial de 5<br><br>JMP start<br><br>nume1: DB 5<br>res:<br><br>start:<br>&nbsp; &nbsp; &nbsp; &nbsp; MOV A, 1<br>&nbsp; &nbsp; &nbsp; &nbsp; CALL factorial<br>&nbsp; &nbsp; &nbsp; &nbsp; MOV [res], A<br>&nbsp; &nbsp; &nbsp; &nbsp; MOV C, [res]<br>&nbsp; &nbsp; &nbsp; &nbsp; HLT<br><br>factorial:<br>&nbsp; &nbsp; &nbsp; &nbsp; MOV B,1<br><br>.loop:<br>&nbsp; &nbsp; &nbsp; &nbsp; INC B<br>&nbsp; &nbsp; &nbsp; &nbsp; MUL B<br>&nbsp; &nbsp; &nbsp; &nbsp; CMP B, [nume1]<br>&nbsp; &nbsp; &nbsp; &nbsp; JB .loop</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810043696/3f90f3d357285dd8f7d35e2759eb7879/image.png" />
         <pubDate>2022-09-16 23:53:06 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300624152</guid>
      </item>
      <item>
         <title>Ivan La Madrid</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300624204</link>
         <description><![CDATA[<div>; Compara dos números a y b<br>	JMP start	; Saltar a etiqueta start<br><br>num1: 	DB 9		; Variable 1<br>num2: 	DB 4		; Variable 2<br><br>start:<br>	MOV A, [num1]	; copia el contenido de num1 al registro A&nbsp;<br>	CMP A, [num2]	; compara si num1 y num2 son iguales<br>	JE multi	; si son iguales<br>	JNE resta	; si no son iguales<br>	JMP end		;<br><br>resta:<br>	SUB A, [num2]	; adiciona el contenido de num2 al registro A<br>&nbsp; &nbsp; &nbsp; &nbsp; JMP end		;<br>multi:<br>	MUL [num1]	; multiplica<br>	JMP end		;<br>end:<br>	HLT		;	<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810045333/60d100b3993fa859da45940a9afc90a4/image.png" />
         <pubDate>2022-09-16 23:53:14 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300624204</guid>
      </item>
      <item>
         <title>Juan Carlos Flores</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300624561</link>
         <description><![CDATA[<div>; Calcula potencia de 2 elevado a la 7 = 128 en registro A<br>	JMP start	; Salta a etiqueta start<br><br>nume: 	DB 3		; Variable número<br>num: 	DB 3		; Variable potencia (limite)<br><br>start:<br>	MOV A, [nume] 	; Copia contenido de nume a registro A<br>&nbsp; &nbsp; &nbsp; &nbsp; CMP A, [num]&nbsp; &nbsp; ;<br>&nbsp; &nbsp; &nbsp; &nbsp; JE&nbsp; .Igual&nbsp; &nbsp; &nbsp; ;<br>&nbsp; &nbsp; &nbsp; &nbsp; CMP A, [num]&nbsp; &nbsp; ;<br>&nbsp; &nbsp; &nbsp; &nbsp; JB&nbsp; .Menor&nbsp; &nbsp; &nbsp; ;<br><br>.Igual:<br>&nbsp; &nbsp; MUL [num] ;<br>&nbsp; &nbsp; JMP end &nbsp; ;<br><br>.Menor:<br>&nbsp; &nbsp; SUB A, [num];<br>&nbsp; &nbsp; JMP end;<br><br>end:&nbsp;<br>&nbsp; &nbsp;HLT;</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810043435/7a5e71bc7c55721f2e7e75060eed181b/image.png" />
         <pubDate>2022-09-16 23:54:10 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300624561</guid>
      </item>
      <item>
         <title>Domínguez Ocaña Renzo</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300625030</link>
         <description><![CDATA[<div>;&nbsp; &nbsp; &nbsp; &nbsp;calcular factorial de 5<br><br>JMP start ; Salta a etiqueta start<br><br>start:<br>nume: DB 5;<br>MOV A, [nume] ; copia nume en registro A<br>HLT ; Detiene la ejecución del programa<br><br>factorial:<br><br>MOV B,1<br>.loop:<br>MUL B; Multiplica dos números<br>INC B; Incrementa en 1<br>CMP B, [nume]; Compara si son iguales<br>JB .loop<br><br>RET</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810043429/9c13145c1ad23af9b4219045704d6da9/image.png" />
         <pubDate>2022-09-16 23:55:24 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300625030</guid>
      </item>
      <item>
         <title>Franco Leonardo Sovero Ilma</title>
         <author></author>
         <link>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300625545</link>
         <description><![CDATA[<div>; Factorial de 5 en registro A<br>	JMP start	; Salta a etiqueta start<br><br>nume: DB 1		; Variable numero<br>fact: DB 5 		; Variable potencia<br><br><br>start:&nbsp;<br>	MOV A, [nume]		; Copia contenido de nume a registro A<br>	MOV C, [nume]		; Copia contenido de nume a registro C<br>	CALL factorial		; LLama a función con etiqueta potencia<br>	HLT			; Detiene la ejecución del programa<br><br>factorial:<br>	MOV B, 1		; Inicializa registro B en valor 1 para contar&nbsp;<br><br>.loop:&nbsp;<br>	INC C			; Aumenta en 1 el contador<br>	MOV [nume], C<br>	MUL [nume] 		; Multiplica contenido de nume por registro A&nbsp;<br>	INC B 			; Aumenta en 1 el contador<br>	CMP B, [fact] 		; Compara registro B con potencia si son =<br>JB .loop ; If B pote salta a .loop<br>	<br>	RET			; Sale funcion<br><br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1810043996/f689b7206ddf241d204ef9be6e130aa9/image.png" />
         <pubDate>2022-09-16 23:56:40 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/45721b0nj2p9b0sb/wish/2300625545</guid>
      </item>
   </channel>
</rss>
