Question 1

What is the difference between a JMP (“jump”) instruction and a CALL (“call”) instruction? Where might each type of branching command be used? Hint: one of these is used to execute a subroutine.


Question 2

An important feature of microprocessors is the use of flag registers. What, exactly, is a “flag”, and what are they used for in microprocessor programming? Identify some common machine-language commands that set flags, and some common commands that read flags.


Published under the terms and conditions of the Creative Commons Attribution License