Podcast
Questions and Answers
Which type of branching instruction transfers the program sequence to a memory address based on a condition?
Which type of branching instruction transfers the program sequence to a memory address based on a condition?
- Jump instructions (correct)
- Branch instructions
- Return instructions
- Call instructions
What is the purpose of the PC in a computer program execution?
What is the purpose of the PC in a computer program execution?
- Execute the current instruction
- Fetch the next instruction from memory
- Increment the memory address of the current instruction by 4 (correct)
- Switch execution to a different instruction sequence
What is the role of a call instruction in a computer program?
What is the role of a call instruction in a computer program?
- Execute an instruction at a different memory address (correct)
- Switch execution to a different instruction sequence
- Increment the program counter by 4
- Transfer the program sequence to a memory address
Which phase of the two-phase procedure involves fetching and executing instructions one at a time in order of increasing addresses?
Which phase of the two-phase procedure involves fetching and executing instructions one at a time in order of increasing addresses?
What are the three parts of an instruction?
What are the three parts of an instruction?
Which type of instructions involve operations on data such as arithmetic, logical, or shift operations?
Which type of instructions involve operations on data such as arithmetic, logical, or shift operations?
Which operations involving memory are considered basic data transfer instructions?
Which operations involving memory are considered basic data transfer instructions?
Which type of instructions help in changing the flow of a program by executing looping or branching operations?
Which type of instructions help in changing the flow of a program by executing looping or branching operations?
What happens to the flag bit N if the result of an operation is negative?
What happens to the flag bit N if the result of an operation is negative?
Which flag is set to 1 in case of an overflow during an operation?
Which flag is set to 1 in case of an overflow during an operation?
What will happen if the jump instruction 'JC LOOP' is encountered?
What will happen if the jump instruction 'JC LOOP' is encountered?
How does branching affect the CPU's program counter?
How does branching affect the CPU's program counter?