1. Which type of jump used when jumping to any memory location within the current code segment? 2. Which JMP instruction is 5 byte? 3. When does a JCXZ instruction jump?

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
HOMEWORK
1. Which type of jump used when jumping to any memory location within the
current code segment?
2. Which JMP instruction is 5 byte?
3.
When does a JCXZ instruction jump?
4. Compare between short, near, and far JMP.
5.
What is the difference between near and short JMP?
6.
What is a procedure?
7. What is interrupt and what are the types of it?
8. If short JMP instruction reside in memory location 02001 what is the value of
IP? And which any address will jump if the displacement is 0012H?
9. 10. If Near JMP instruction reside in memory location 10023 what is the value
of the IP ? And to which address will jump if the displacement is equal to
012F?Explain with drawing.
10. If FAR JMP instruction reside in memory location 12000 what is the value of
IP ? And to which memory location will jump if the content of instruction are
JMP 10203040? Explain with drawing.
11. What are the two instructions used with procedure and what are their
functions?
12. What Is the function of CALL instruction? (For the two types)
13. What is the difference between FAR and NEAR CALL?
If NEAR CALL instruction reside in memory location 20001 what is the value of next
instruction?
14.
15. IF FAR CALL instruction include CS:IP 10001290? What is the address contain the procedure?
What is the next instruction?
16. What is the difference between CALL and JMP instruction?
17. Compare between FAR and NEAR CALL instructions
18. What is the test condition for JNC instruction?
19. If cx=1 does the instruction JCXZ work properly?
20. For JP AX does the instruction work if AX= 10001000?
21. JO works if the value of overflow flag =
22. What is the operation of CMP instruction? Does it affect the source or destination operands?
23. LOOP instruction is the combination of
and
24. IRET instruction is used for
25. What are the types of JMP instruction and CALL instruction ?
26. What is type of RET instruction and what is the function of them?
Transcribed Image Text:HOMEWORK 1. Which type of jump used when jumping to any memory location within the current code segment? 2. Which JMP instruction is 5 byte? 3. When does a JCXZ instruction jump? 4. Compare between short, near, and far JMP. 5. What is the difference between near and short JMP? 6. What is a procedure? 7. What is interrupt and what are the types of it? 8. If short JMP instruction reside in memory location 02001 what is the value of IP? And which any address will jump if the displacement is 0012H? 9. 10. If Near JMP instruction reside in memory location 10023 what is the value of the IP ? And to which address will jump if the displacement is equal to 012F?Explain with drawing. 10. If FAR JMP instruction reside in memory location 12000 what is the value of IP ? And to which memory location will jump if the content of instruction are JMP 10203040? Explain with drawing. 11. What are the two instructions used with procedure and what are their functions? 12. What Is the function of CALL instruction? (For the two types) 13. What is the difference between FAR and NEAR CALL? If NEAR CALL instruction reside in memory location 20001 what is the value of next instruction? 14. 15. IF FAR CALL instruction include CS:IP 10001290? What is the address contain the procedure? What is the next instruction? 16. What is the difference between CALL and JMP instruction? 17. Compare between FAR and NEAR CALL instructions 18. What is the test condition for JNC instruction? 19. If cx=1 does the instruction JCXZ work properly? 20. For JP AX does the instruction work if AX= 10001000? 21. JO works if the value of overflow flag = 22. What is the operation of CMP instruction? Does it affect the source or destination operands? 23. LOOP instruction is the combination of and 24. IRET instruction is used for 25. What are the types of JMP instruction and CALL instruction ? 26. What is type of RET instruction and what is the function of them?
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