What is 16 bit word’s equivalent in decimal?

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?

2

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

4

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *