Em Andamento

Assembly Language project

Provide the Assembly Language source code fragments that will implement each of following, together with

a test plan.

Note: a test plan should include: Normal, Boundary and Error cases

Present your final results in the form of report that summarizes your work:

Title

Author

Revision

Introduction: Problem Statement

Method: Design, Pseudo-code(s); place actual pseudo-codes in the Appendix

Solution: Assembly Language Implementations; place actual Assembly Language source codes in the Appendix

Results and Discussion: Test Plan(s),

Snapshots (screen shots) of Running of Test Cases; place Test Plans in the Appendix

Summary and Conclusions

Acknowledgements

References

Appendix:

Pseudo-codes

ASM source codes

Test plans

Test Case runs, screen shots

1. Write the program that performs the following

(a) Carry out division of two non-negative integers using repeated subtraction:

Divide EAX by EBX, put quotient in ECX and Remainder in EDX

Initialize Quotient to 0

While Dividend >= Divisor

{

Increment Quotient

Subtract Divisor from Dividend

}

(b) Carry out multiplication of two non-negative integers using repeated addition:

Multiply EAX = M by EBX = N, put product in ECX = (MN)

Initialize Product to 0

Repeat

{

add M to Product

decrement N

} UNTIL (N = 0)

2. Use Boolean logic instructions (AND, OR, XOR, NOT) to perform each of the following actions

BoolProc PROC

; (a) Place 0053H in CL; then zero extend CL into EDX (using MOVZX); then change contents of EDX so

; that DL is 0073H

; (b) Set the low-order 8 bits of EAX

; (c) Reset(Clear) the high-order 7 bits of EAX

; (d) Invert bits 23, 17, 15, 13, 9, 8, 7, 3, 2 of EAX

; (e) read 2 characters from the keyboard; then perform AND, OR, XOR on the characters; then display

the results on the screen

; (f) Assume AL contains the ASCII code for an upper case character. Write the code convert the content

into the corresponding lower case character. Test with 2 cases by displaying the results on the

screen.

BoolProc ENDP

Write a test program (Main PROC) to check and ensure your code works as intended.

3. (a) read 20 decimal integers from the keyboard; then add them together;

then display the sum on the screen. Use HW Stack PUSH and POP operations, where suitable.

(b) Without using HW Stack PUSH and POP operations at all, read 20 decimal integers; then add them together;

then display the sum on the screen.

4. (a) Declare in memory storage for up to 100 integers, each of with fits into 16-bits.

(b) Ask the user how many sessions (K) to perform

(c) For each session,

x) ask how many integers (N) to handle

xx) Read N decimal integers from the keyboard and store them in the declared memory location

xxx) Subtract the 2nd to N integers from the first integer

xxxx) Display the result on the screen

v) Display the Flag Bits: ZF, SF, OF, CF, PF at the end of the session

5. Write a program to calculate the Fibonacci series up to N. To test your code, set N to be N = 1, 2, 5, 10, 100,

166.

Fib(0) = 0

Fib(1) = 1

Fib(2) = 1

Fib(n) = Fib(n-1) + Fib(n-2), n > 3.

Habilidades: Montagem, Visual Basic

Ver mais: project assembly language, use cases include extend, use case extend, set bits in c, set bits, program problem statement, product design project report, problem statement, operations on bits, mn works, method to write a report, low bits, introduction and problem statement, include extend use case, include and extend in use case, hw to write report, hw to write a report, how to write problem statement, how to write a summary report, how to write a problem statement, how to work integers, extend use case, extend include use case, clear bits, c language introduction

Acerca do Empregador:
( 11 comentários ) Queens. Village, United States

ID do Projeto: #5116748

5 freelancers estão ofertando em média $152 para este trabalho

eicr2013

Hi, I am an electronic undergraduate and expert in assembly. You can see my previous projects. I can do this.

$200 USD in 5 dias
(3 Comentários)
3.6
alexeyshentyakov

I can provide solutions for all the problems ---------------------------------------------------------------------------------

$100 USD em 1 dia
(10 Comentários)
3.5
hddh

Hi, I can do it. Please send me more detail info. I worked with Assembly language 5 years. Regards, --Hung

$222 USD in 3 dias
(10 Comentários)
3.5
greenvector

Hi I am electrical engineer and I can help you Assembly language. Is this related to MIPS. Please consider me. Looking forward to your reply...

$155 USD in 10 dias
(13 Comentários)
3.4
kawsar92

Recently I have done a assembly language assignment for one of my client. Check my profile to see the review of my client. I will do it perfectly as you want. Please initiate a chat for further details. Thank you.

$85 USD in 3 dias
(1 Comentário)
1.0