Instruction Format Quiz
5 Questions
0 Views

Instruction Format Quiz

Created by
@SaintlyJasper8744

Questions and Answers

What is the opcode for the instruction 'INC DH'?

  • 11111111
  • 11111101
  • 11111110 (correct)
  • 11111100
  • For an 8-bit operand, what is the binary representation of the opcode for 'INC BYTE PTR [SI – 4]'?

  • 11111100
  • 11111110
  • 11111111
  • 11111101 (correct)
  • In the instruction encoding of 'INC BYTE PTR [SI – 4]', which mod is used for shortened encoding?

  • mod = 10 (correct)
  • mod = 00
  • mod = 11
  • mod = 01
  • What is the resulting instruction encoding for 'INC BYTE PTR [SI – 4]' when mod is 10?

    <p>11111100 11111111 84 FC FF</p> Signup and view all the answers

    When the constant is encoded as a signed 8-bit value, how many bytes are included in the instruction encoding for 'INC BYTE PTR [SI – 4]'?

    <p>1</p> Signup and view all the answers

    More Quizzes Like This

    Use Quizgecko on...
    Browser
    Browser