문제

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