How to execute a 11-digit instruction using different addressing modes in Python?
Here, we have an 11 bit instruction which has first 2 bits for representing addressing mode, next 3 bits for the opcode and the last 6 bits are for the two operands, 3 bits each. We will execute this 11 bit Instruction using four different addressing modes:-  Direct mode: In this mode, the address