• Yada yada yada. Your question mark got lost.
    • Abhishek Tyagi
      A hypothetical machine has 64 general purpose registers of 64 bits each. The machine has 4G word of RAM (assume that each word is of 64 bits and memory is word addressable). The instructions of machine are of fixed format and are 64 bit long. Instructions of the machine consist of operation code, addressing mode specification, one register operand and one memory operand. The machine uses 2 bits to specify addressing mode as given below: Addressing mode bits Register Operand Memory Operand 00 direct direct 01 direct immediate data 10 register indirect direct 11 register indirect immediate data Machine can specify 1024 different operation codes. Assume that the machine has named 5 of its general purpose registers based on their possible role in instruction execution 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. (i) Specify the size of different fields that are needed in the instruction. (You may leave some bits as unused). (ii) Put some valid values in certain registers and memory locations and demonstrate examples of different addressing modes of this machine.
    • miya imran

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy