Co-Authored By:
Beside this, what is an opcode give example?
An opcode is a single instruction that can be executed by the CPU. In machine language it is a binary or hexadecimal value such as 'B6' loaded into the instruction register. In assembly language mnemonic form an opcode is a command such as MOV or ADD or JMP. For example. MOV AL, 34h.
Also to know is, where are opcodes stored?
The opcodes are initially stored on some external storage medium - paper tape, mag tape, floppy disk, hard disk. etc. They're then loaded into RAM. That's where they're stored when they're being used.
So, if each location contains one opcode, total 2^16 locations contain 2^16 opcodes and it is maximum number of opcodes, but the answer is given as c, which is 2^12 .