CSP25 Homework 03

CSP25 Homework 03

Click here to Order a Custom answer to this Question from our writers. It’s fast and plagiarism-free.

 CSP25 Homework 03
Part 1 : Use a Wordprocessor to type ANSWERS only. Save file as pdf then submit pdf file.

1. Write four statements only that will be part of an Assembly program that will define
four constants (use your own name) and each will store the decimal value 29 in decimal,
binary, octal and hexadecimal.
2. Write a statement that will be part of the data definition of an Assembly program that
will define a double word that will store in memory in big endian format.
3. Given the number 456789Abh, list out the byte values in little endian.
4. Write a statement that will be part of the data definition of an Assembly program that
will define an array of 120 uninitialized unsigned double words.

Part 2  
For these questions, submit screenshot of your code plus 2 outputs for part (b) and (d) of test
values given above.
Put all the same file as your work above.
5. Write an Assembly program that will add two numbers 9 and 4. Store result in EAX first
but later after the addition, move the result to a variable called sum which was defined
as a double word and intialzied to 0
6. Write an Assembly program that will add two numbers 9 and 4. Store result in AX first
but later after the addition, move the result to a variable called sum which was defined
as a word and intialzied to 0

Submit one pdf file that has all your work.
 

Looking for this or a Similar Assignment? Click below to Place your Order