This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;---------------------------- BUBBLE_SORT -------------------------------; | |
| BUBBLE_SORT PROC | |
| ; this procedure will sort the array in ascending order | |
| ; input : SI=offset address of the array | |
| ; : BX=array size | |
| ; output : none | |
| PUSH AX ; push AX onto the STACK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PAGE 40,132 | |
| TITLE MinimoMaximoModa | |
| COMMENT * MÁXIMO, MÍNIMO Y MODA utilizando BUBBLE SORT, CICLOS, SALTOS y COMPARACIONES * | |
| ;se inicializara el stack a continuacion | |
| ;PUBLIC PROCEDIMIENTO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PAGE 40,132 | |
| TITLE Calculadora | |
| COMMENT * Realizar un programa de ensamblador utilizando variables y arreglos y realizando | |
| operaciones de suma multiplicación y división teniendo como origen los operandos masa, | |
| distancia y tiempo y como destino los resultados velocidad promedio, fuerza promedio y | |
| trabajo promedio. * | |
| ;se inicializara el stack a continuacion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /* | |
| # * Write a function: | |
| # * function solution(A) | |
| # * | |
| # * that, given an array A of N integers, returns the smallest positive integer(greater than 0) that does not occur in A. | |
| # * For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5. | |
| # * 1 1 2 3 4 6 | |
| # * Given A = [1, 2, 3], the function should return 4. | |
| # * Given A = [−1, −3], the function should return 1. | |
| # * Write an efficient algorithm for the following assumptions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Write a function: | |
| * function solution(A); | |
| * | |
| * that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. | |
| * For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5. | |
| * 1 1 2 3 4 6 | |
| * Given A = [1, 2, 3], the function should return 4. | |
| * Given A = [−1, −3], the function should return 1. | |
| * Write an efficient algorithm for the following assumptions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| ### | |
| # services | |
| ### | |
| # main app | |
| web: | |
| build: . | |
| network_mode: host |
