質問

Question:

For a 16 bit word with 6 bits for an opcode

  • How many different instructions could I fit into the instruction set?
  • What is the largest number that I could use as data?

Answer:

  • Number of instructions: 26 = 64
  • largest operand: 210 - 1 = 1023

Source

My question is how did they calculated 210 from 16 bit word?

役に立ちましたか?

解決

If a number takes up 16 bits, and you use 6 of them for something, that leaves 10 bits.

ライセンス: CC-BY-SA帰属
所属していません softwareengineering.stackexchange
scroll top