1- Assume that CL = 01110011 = + 115 decimal ; BL =01001111 = +79 decimal. Execute %3D %3D the following: ADD CL, BL. Is the result (signed) correct or incorrect? explain the reason? Check the flags 2-Add CX to the data stored at memory location offset=36A4h. Suppose that CX= 1155h and the content of the memory location is 33BC 3- Show that it is not possible to add CX to DS with the ADD instruction. Suppose that CX= 1122h and DS= 1234h 4- Add with carry 7AH to AL register. Suppose that AL= 12h. 5- Add with carry [BX] to AX register. Suppose BX= 1234h, AX = 3B4FH and the content of the memory location [BX] is 725AH. 6- If AX= 1122h, BX= 3474h, and the location [BX] contains 3C45h. Write a code to execute ADC AX, [BX]. 7- Write a code that adds 1 to the content of the SP register. Suppose SP= 3A56h 8- Suppose BX= 2233h, CX= 5589, DX= EB49H, BL= 23h, SI= 1234h, [SI]= 01A2h. Select a SUB instruction that will: (a) subtract BX from CX (b) subtract 0AAH from DH (e) subtract the data address by BL from CH (f) subtract the data stored (Word) by the location addressed by SI from DX 9- Choose an instruction that subtracts 1 from register BX= 33BAH 10- Write a code to execute SBB [DI– 4], DX instruction. Suppose DI= 67A5h and DX= 1357h

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
I need the answer as soon as possible
Exercises:
1- Assume that CL = 01110011 = + 115 decimal ; BL =01001111 = +79 decimal. Execute
the following: ADD CL, BL. Is the result (signed) correct or incorrect? explain the
reason? Check the flags
2- Add CX to the data stored at memory location offset=36A4h. Suppose that CX= 1155h
and the content of the memory location is 33BC
3- Show that it is not possible to add CX to DS with the ADD instruction. Suppose that
CX= 1122h and DS= 1234h
4- Add with carry 7AH to AL register. Suppose that AL= 12h.
5- Add with carry [BX] to AX register. Suppose BX= 1234h, AX = 3B4FH and the content
of the memory location [BX] is 725A..
6- If AX= 1122h, BX= 3474h, and the location [BX] contains 3C45.. Write a code to
execute ADC AX, [BX].
7- Write a code that adds 1 to the content of the SP register. Suppose SP= 3A56h
8- Suppose BX= 2233h, CX= 5589, DX= EB49H, BL= 23h, SI= 1234h, [SI]= 01A2h.
Select a SUB instruction that will:
(a) subtract BX from CX
(b) subtract 0AAH from DH
(e) subtract the data address by BL from CH
(f) subtract the data stored (Word) by the location addressed by SI from DX
9- Choose an instruction that subtracts 1 from register BX= 33BAH
10- Write a code to execute SBB [DI- 4], DX instruction. Suppose DI= 67A5h and DX=
1357h
Transcribed Image Text:Exercises: 1- Assume that CL = 01110011 = + 115 decimal ; BL =01001111 = +79 decimal. Execute the following: ADD CL, BL. Is the result (signed) correct or incorrect? explain the reason? Check the flags 2- Add CX to the data stored at memory location offset=36A4h. Suppose that CX= 1155h and the content of the memory location is 33BC 3- Show that it is not possible to add CX to DS with the ADD instruction. Suppose that CX= 1122h and DS= 1234h 4- Add with carry 7AH to AL register. Suppose that AL= 12h. 5- Add with carry [BX] to AX register. Suppose BX= 1234h, AX = 3B4FH and the content of the memory location [BX] is 725A.. 6- If AX= 1122h, BX= 3474h, and the location [BX] contains 3C45.. Write a code to execute ADC AX, [BX]. 7- Write a code that adds 1 to the content of the SP register. Suppose SP= 3A56h 8- Suppose BX= 2233h, CX= 5589, DX= EB49H, BL= 23h, SI= 1234h, [SI]= 01A2h. Select a SUB instruction that will: (a) subtract BX from CX (b) subtract 0AAH from DH (e) subtract the data address by BL from CH (f) subtract the data stored (Word) by the location addressed by SI from DX 9- Choose an instruction that subtracts 1 from register BX= 33BAH 10- Write a code to execute SBB [DI- 4], DX instruction. Suppose DI= 67A5h and DX= 1357h
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY