Discussion
Match List-I with List-II :
| List I : Register | List II : Use |
|---|---|
| (a) IP | (i) Loop operations |
| (b) CX | (ii) String manipulation |
| (c) SI | (iii) Modular programming |
| (d) SP | (iv) Code access |
Answer: C
The correct matching is a-iv, b-i, c-ii, d-iii.
- (a) IP, the instruction pointer, holds the offset of the next instruction in the code segment: code access (iv).
- (b) CX is the count register used by LOOP and REP: loop operations (i).
- (c) SI, the source index, points to the source in string instructions such as MOVS: string manipulation (ii).
- (d) SP, the stack pointer, manages the stack used by CALL and RET to run subroutines, the basis of modular programming (iii).
The other codes swap the loop counter and the string index or misplace IP.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development