Microprocessor Programming

Digital Circuits

  • 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.

    Reveal answer
  • 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.

    Reveal answer
0 Comments