CSP25 Homework 03 Part 1 : Use a Wordprocessor to

 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.
 

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions