Find Jobs
Hire Freelancers

MASM Two Step Micro-Project

$10-30 USD

Terminado
Publicado hace más de 6 años

$10-30 USD

Pagado a la entrega
Part 1 Implement the following C++ code fragment in assembly language. Use the block-structured .IF and .WHILE directives. Assume that all variables are 32-bit integers. int array[] = {3,1,4,1,5,9,2,6,5,3,5,8,9,7,9,3,2,3,8,4}; int lower = 3; int upper = 8; int ArraySize = sizeof array / sizeof lower; int index = 0; int sum = 0; while( index < ArraySize ) { if( array[index] >= lower && array[index] <= upper ) { sum += array[index]; } index++; } Your assembly language program must also display as output the number of times a member of ' array ' qualified for inclusion into the ' sum ' and what the final value of the variable ' sum ' was. (Hint: you may have to add another variable.) Feel free to use the author's procedures in the book's link library. Use only the procedures that were introduced in chapter 5. Part 2 Write an assembly language program that asks the user to enter an integer dollar amount between 1 and 5,000. Your program should display the corresponding class description using the following table. Write the program so that it executes until the user inputs some value that you determine to be the "sentinel value". Your program must guard against and provide user messages for input values that are outside the valid range. Donation Amount (dollars) Class of Donation $4,000 to $5,000 Platinum $3,000 to $3,999 Gold $2,000 to $2,999 Silver $1,000 to $1,999 Bronze $1 to $999 Copper
ID del proyecto: 15454494

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi! I have past experience working with MASM. Please get in touch by replying to this message! Thanks Relevant Skills and Experience Assembly Proposed Milestones $50 USD - Fin
$32 USD en 2 días
4,6 (26 comentarios)
4,6
4,6
2 freelancers están ofertando un promedio de $74 USD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$115 USD en 1 día
5,0 (2 comentarios)
4,4
4,4

Sobre este cliente

Bandera de UNITED STATES
Sugar Land, United States
5,0
1
Forma de pago verificada
Miembro desde oct 21, 2017

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.