<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>ARQ SI43 - Taller programación en assembler (Semana 3 - Clase 2) by Geraldo Colchado</title>
      <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo</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-04-05 15:35:00 UTC</pubDate>
      <lastBuildDate>2026-02-17 02:12:08 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f4bb.png</url>
      </image>
      <item>
         <title>Lisanne Mareni</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137507705</link>
         <description><![CDATA[<div>; Factorial<br><br>	JMP start	; Salta a etiqueta start<br><br><br><br>nume: 	DB 4		; Variable número<br><br><br><br>start:<br><br>	MOV A, [nume] 	; Copia contenido de nume a registro A<br><br>	CALL factorial	; Llama a función con etiqueta factorial<br><br>	HLT		; Detiene la ejecución del programa<br><br><br><br>factorial:<br><br>	MOV B, 1	; Inicializa registro B en valor 1 para contar<br><br>.loop:	<br><br>	MUL B	; Multiplica contenido de nume por registro A&nbsp;<br><br>	INC B		; Aumenta en 1 el contador<br><br>	CMP B, [nume]	; Compara registro B con potencia si son =<br><br>	JB .loop	; If Bpote salta a .loop<br><br>	<br><br>	RET		; Sale de función</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:26:43 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137507705</guid>
      </item>
      <item>
         <title>Arián Tapia</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137509072</link>
         <description><![CDATA[<div>; Calcula factorial de 5 en registro A<br>	JMP start	; Salta a etiqueta start<br><br>fact: 	DB 5		; Variable factorial<br><br>start:<br>	MOV A, 1	; Inicializa registro A en valor 1<br>	CALL factorial	; Llama a función con etiqueta factorial<br>	HLT		; Detiene la ejecución del programa<br><br>factorial:<br>	MOV B, 1	;Inicializa registro B en valor 1<br>.loop:	<br>	MUL B		; Multiplica contenido de B por registro A&nbsp;<br>	INC B		; Aumenta en 1 el contador<br>	CMP B, [fact]	; Compara registro B con factorial si son =<br>	JBE .loop	; If B&lt;fact salta a .loop<br>	<br>	RET		; Sale de función</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:29:09 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137509072</guid>
      </item>
      <item>
         <title>Vicente Omar Moya Condori</title>
         <author>omarmoya193</author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137512012</link>
         <description><![CDATA[<div>;Ejercicio Dirigido<br>JMP start	;Salta a etiqueta start<br><br>;------ variables en RAM ---------<br>nume:	DB 5	;<br><br>start:<br><br>	MOV A, [nume]	;<br>	MOV B, [nume]	;<br>	DEC B		;<br>	CALL factorial	;<br>	HLT;<br><br>factorial:<br>	MOV C, 1	;<br>.loop:<br>	MUL B	;<br>	DEC B	;<br>	CMP C,B	;<br>	JBE .loop	;<br>	<br>	RET		;</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:34:33 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137512012</guid>
      </item>
      <item>
         <title>Cristina Vidal</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137512917</link>
         <description><![CDATA[<div>; Factorial de 5 en registro A<br>	JMP start<br><br>nume:	DB 4	; varible de numero<br>jumper: DB 2<br><br>start:<br>	MOV A, [nume] 	; Copiacontenido de nume en registro A<br>	CALL suma ; llama a funcion de factorial<br>	HLT<br><br>suma:<br>	MOV C, 1<br>.loop:<br>	ADD B, [jumper]<br>	ADD A, B<br>	INC C<br>	CMP C, [nume]<br>	JB .loop<br>	<br>	RET</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:36:16 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137512917</guid>
      </item>
      <item>
         <title>Lisanne Mareni</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137514732</link>
         <description><![CDATA[<div>; Factorial<br><br>	JMP start	; Salta a etiqueta start<br><br><br><br>nume: 	DB 4		; Variable número<br><br><br><br>start:<br><br>	MOV A, 0 	; Copia contenido de nume a registro A<br><br>	CALL sumita	; Llama a función con etiqueta sumita<br><br>	HLT		; Detiene la ejecución del programa<br><br><br><br>sumita:<br><br>	MOV B, 0	; Inicializa registro B&nbsp;<br>	MOV C, 1<br><br>.loop:	<br><br>	ADD A,C	; Suma contenido de nume por registro B&nbsp;<br>	ADD C,2<br><br>	INC B		; Aumenta en 1 el contador<br><br>	CMP B, [nume]	; Compara registro B con potencia si son =<br><br>	JB .loop	; If Bpote salta a .loop<br><br>	<br><br>	RET		; Sale de función</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:39:50 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137514732</guid>
      </item>
      <item>
         <title>Cristina Vidal</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137517195</link>
         <description><![CDATA[<div>; Factorial de 5 en registro A<br>	JMP start<br><br>jumper: DB 1<br>desde: 	DB 5<br>hasta: 	DB 10<br><br>start:<br>	MOV A, [desde] 	; Copiacontenido de nume en registro A<br>	CALL suma ; llama a funcion de factorial<br>	HLT<br><br>suma:<br>	MOV C, [desde]<br>	MOV B, [desde]<br>.loop:<br>	ADD B, [jumper]<br>	ADD A, B<br>	INC C<br>	CMP C, [hasta]<br>	JB .loop<br>	<br>	RET</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:44:22 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137517195</guid>
      </item>
      <item>
         <title>Vicente Omar Moya Condori</title>
         <author>omarmoya193</author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137517933</link>
         <description><![CDATA[<div>;Ejercicio Dirigido<br>JMP problem	;Salta a etiqueta start<br><br>;------ variables en RAM ---------<br>numeA:	DB 10	;<br>numeB: 	DB 5	;<br><br>problem:<br>	MOV A, [numeA]	;<br>	MOV B, [numeB]	;<br>	CMP A,B		;<br>	JE .funcion	;<br>	SUB A,B		;<br>	JMP .end		;<br><br>.funcion:<br>	MUL B		;<br>	JMP .end		;<br><br>.end:<br>	HLT		;</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:45:55 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137517933</guid>
      </item>
      <item>
         <title>Cristhian Laines</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137518189</link>
         <description><![CDATA[<div>; Obtiene el mayor de 2 números en registro B<br><br>	JMP start		; Salta a etiqueta start<br><br>nume1:	DB 20			; Variable número 1<br>nume2:	DB 15			; Variable número 2<br><br>start:<br>	MOV A, [nume1]		; Copia contenido nume1 a registro A<br>	CMP A, [nume2]		; Compara nume1 y nume2 si son =<br>	JE .igual		; If nume1=nume2 salta a .menor_igual<br>	JA .diferente		; If nume1&lt;nume2 salta a .menor_igual<br>	JB .diferente		; If nume1&gt;nume2 salta a .menor_igual<br><br>	JMP end			; Salta a etiqueta end<br><br>.igual:<br>	MUL [nume2]		; nume2 es el mayor&nbsp;<br>	JMP end			; Salta a etiqueta end<br><br>.diferente:<br>	MOV A, [nume1]	; Copia contenido de nume1 a registro A<br>	SUB A, [nume2]	; Adiciona contenido de nume2 a registro A<br>	JMP end			; Salta a etiqueta end<br>		&nbsp;<br>end:<br>	HLT			; Detiene la ejecución del programa<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:46:23 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137518189</guid>
      </item>
      <item>
         <title>Joaquin Diaz</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137518449</link>
         <description><![CDATA[<div><br><br>	JMP start	; Salta a etiqueta start<br><br><br><br>nume: 	DB 4		; Variable número<br>nume2: DB 4<br><br><br><br><br><br>start:<br><br>	MOV A, [nume] 	; Copia contenido de nume a registro A<br>	MOV B,[nume2]<br>	<br>	CALL func; Llama a función con etiqueta potencia<br><br>	HLT		; Detiene la ejecución del programa<br><br><br><br>func:<br><br>	CMP A,B<br>	JE Multiplicacion<br>	SUB A,B<br><br>	RET		; Sale de función<br>Multiplicacion:<br>	MUL B<br>	MOV C,A<br>	RET</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:46:54 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137518449</guid>
      </item>
      <item>
         <title>Lisanne Mareni</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137518943</link>
         <description><![CDATA[<div>; problem3<br><br>	JMP start	; Salta a etiqueta start<br><br><br><br>nume: 	DB 5		; Variable número<br>numerito: 	DB 10		; Variable número<br><br><br>start:<br><br>	MOV A, [nume] 	; Copia contenido de nume a registro A<br>	CALL sumita	; Llama a función con etiqueta sumita<br>	HLT		; Detiene la ejecución del programa<br><br><br><br>sumita:<br><br>	MOV B, [nume]	; Inicializa registro B&nbsp;<br><br>.loop:	<br>	INC B		; Aumenta en 1 el contador<br>	ADD A,B<br>	CMP B, [numerito]	; Compara registro B con potencia si son =<br><br>	JB .loop	; If Bpote salta a .loop<br><br>	<br><br>	RET		; Sale de función</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:47:53 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137518943</guid>
      </item>
      <item>
         <title>Jeampier Bautista </title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137519651</link>
         <description><![CDATA[<div>; Obtiene el mayor de 2 números en registro B<br><br>	JMP start		; Salta a etiqueta start<br><br>nume1: DB 20			; Variable número 1<br>nume2: DB 15			; Variable número 2<br><br>start:<br>	MOV A, [nume1]		; Copia contenido nume1 a registro A<br>	CMP A, [nume2]		; Compara nume1 y nume2 si son =<br>	JE .multiplica	&nbsp; &nbsp; &nbsp; &nbsp; ; If nume1=nume2 salta a multiplica<br>	JNE resta&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Else salta a resta&nbsp;<br>	JMP end			; Salta a etiqueta end<br><br>.multiplica:<br>	MUL [nume2]		;<br>&nbsp; &nbsp; &nbsp; &nbsp; JMP end			; Salta a etiqueta end<br>resta:&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; SUB A,[nume2] ;<br>	JMP end ;	&nbsp;<br>end:<br>	HLT			; Detiene la ejecución del programa</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:49:13 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137519651</guid>
      </item>
      <item>
         <title>Arián Tapia</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137519885</link>
         <description><![CDATA[<div>;Suma de números en rango [a..b] en registro C.<br>	JMP start	; Salta a etiqueta start<br><br>a1: 	DB 5		; Variable inicial<br>b1: 	DB 10		; Variable final<br><br>start:<br>	MOV A, [a1] 	; Copia contenido de a1 a registro A<br>	MOV C, 0	;&nbsp;<br>	CALL suma	; Llama a función con etiqueta potencia<br>	HLT		; Detiene la ejecución del programa<br>	<br>suma:	<br>	ADD C,A		; Añade A a C<br>	INC A		; Aumenta en 1 el contador<br>	CMP A,[b1] 	; Compara registro A con límite b1<br>	JBE suma	; Si A=límite b1 entonces suma<br>	<br>	RET		; Sale de función<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:49:40 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137519885</guid>
      </item>
      <item>
         <title>Gabriel Amaya</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137519900</link>
         <description><![CDATA[<div><br>JMP start ; Salta a etiqueta start<br><br>nume1: DB 5 ; Variable número 1<br>nume2: DB 5 ; Variable número 2<br><br>start:<br>MOV A, [nume1] ; Copia contenido nume1 a registro A<br>CMP A, [nume2]&nbsp;<br>JE .iguales&nbsp;<br>JA .diferente&nbsp;<br>JB .diferente&nbsp;<br><br>JMP end ; Salta a etiqueta end<br><br>.iguales:<br>MUL [nume2]<br>JMP end ; Salta a etiqueta end<br><br>.diferente:<br>MOV A, [nume1]&nbsp;<br>SUB A, [nume2]&nbsp;<br>JMP end ; Salta a etiqueta end<br>&nbsp;<br>end:<br>HLT ; Detiene la ejecución del programa</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:49:42 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137519900</guid>
      </item>
      <item>
         <title>Christian Barzola </title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137520765</link>
         <description><![CDATA[<div><br>JMP start ; Salta a etiqueta start<br>nume1: DB 4 ; Variable número<br>pote1: DB 2 ; Variable potencia<br>start:<br>MOV A, [nume1] ; Copia contenido de nume1 a registro A<br>CALL potencia ; Llama a función con etiqueta potencia<br>HLT ; Detiene la ejecución del programa<br>potencia:<br>MOV B, 1 ; Inicializa registro B en valor 1 para contar<br>.loop:<br>MUL [nume1] ; Multiplica contenido de nume1 por registro A<br>INC B ; Aumenta en 1 el contador<br>CMP B, [pote1] ; Compara registro B con potencia si son =<br>JB .loop ; If B&lt;pote salta a .loop<br>RET ; Sale de función</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 17:51:18 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137520765</guid>
      </item>
      <item>
         <title>Miguel Flores</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137535019</link>
         <description><![CDATA[<div>; Sumar de n primeros numeros impares<br><br>	JMP start	; Salta a etiqueta start<br><br>	valorn: DB 6		; Variable número<br>	<br><br>start:<br>	MOV B, 0	; Inicializa registro B en 0<br>	CALL calculo	; Llama la funcion calculo<br>	HLT		; Detiene la ejecución del programa<br><br>calculo:<br>	MOV A, 0	; Inicializa la variable A en 0<br>	MOV C, 1	; Inicializa la variable C en 1<br><br>loop:	<br><br>	ADD B, C	; Adiciona número C a registro B<br>	ADD C, 2	; Aumenta en 2 al registro C<br>	INC A		; Aumenta en 1 el contador<br>	<br>	CMP A, [valorn]	; Compara registro A con valorn si son =<br>	JB loop		; If Avalorn salta a loop<br>	<br>	RET		; Sale de función</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 18:19:51 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137535019</guid>
      </item>
      <item>
         <title>Arián Tapia</title>
         <author></author>
         <link>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137536718</link>
         <description><![CDATA[<div>; Suma de primeros n números impares en registro B.<br>	JMP start	; Salta a etiqueta start<br><br>n1:	DB 4		; Números impares&nbsp;<br><br>start:<br>	CALL suma	; Llama a función con etiqueta potencia<br>	HLT		; Detiene la ejecución del programa<br><br>suma:<br>	MOV A, 0 	; Inicializa A en 0 (iterador)<br>	MOV B, 0	; B inicializa en 0 como es la suma<br>	MOV C, 1	; Término impar a sumar<br>.loop:	<br>	ADD B, C	; Suma C en B<br>	ADD C, 2	; Siguiente impar<br>	INC A		; Aumenta A en 1<br>	CMP A, [n1]	; Compara registro A con [n1] si son =<br>	JB .loop	; If A&lt;[n1] salta a .loop<br>	<br>	RET		; Sale de función<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-04-09 18:23:06 UTC</pubDate>
         <guid>https://padlet.com/gcolchado/fqfj9xn09vv24qo/wish/2137536718</guid>
      </item>
   </channel>
</rss>
