World's most popular travel blog for travel bloggers.

A computer has a single core processor having 16 General purpose registers and 16 additional special purpose registers.

, , No Comments
(a) A computer has a single core processor having 16 General purpose registers  and 16 additional special purpose registers. The machine has 1 MB RAM.  The size of each register and memory word is 32 bits each. An instruction  of the machine is of fixed length and is equal to the memory word. Each  instruction of the machine has two operands – one memory and second  register operand. Memory operand is a direct operand; however, register  operand can be direct or indirect. In case registeroperand is an indirect  operand, the stated register contains the address of a memory location. The  instruction of the machine consists of operation code bits, One addressing  mode bit and one register operand and one memory operand. The  addressing mode bit specifies addressing mode as:

Addressing mode bit       Register Operand       Memory Operand
0                                           Direct                             Direct
1                                           Indirect                           Direct

Six of the special purpose registers perform the task as Program Counter 
(PC), Accumulator (AC), Memory Address Register (MAR), Instruction 
Register (IR), Data Register (DR) and Flag registers (FR). Perform the 
following tasks for the machine.

0 comments:

Post a Comment

Let us know your responses and feedback