Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need the following Assembly language problems solved within the next 2 days. 1

ID: 3607820 • Letter: I

Question

I need the following Assembly language problems solved within the next 2 days. 1. What is the correct 8-bit two's complement representation for -21? Show your work. 2. What is the output of the following assembly language program if the input is g? CHARI h#0010,d LDBYTA h#0010,d ANDA h#0011,d STBYTA h#0010,d CHARO h#0010,d STOP .BLOCK d#1 .WORD h#00DF .END 3. Write an assembly language program that prints your first name on the screen. Use the .ASCII pseudo-op to store the characters at the bottom of your program. Use the CHARO instruction to output the characters. 4. Which of the following addressing modes/operands would one expect to be slowest? Why? a. register operand b. immediate operand c. indexed addressing 5. What are the advantages and disadvantages of having constant-length machine language instructions? 6. Develop a deterministic FSM on the alphabet {a, b} that recognizes strings containing abba at the beginning.

Explanation / Answer

Dear... Do post other question in differentposts .so that we can help you... 1.Given decimal number 21 and its binary representation is0001 0101 Invert the binary equivalent of the number by changingall of the ones to zeroes and all of the zeroes to ones (1'scomplement) and then add one. 1's complement = 11101010        Addone                     1 2'scomplement=  11101011      Hope this will helpyou...           1's complement = 11101010        Addone                     1 2'scomplement=  11101011      Hope this will helpyou...          
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote