Question: Need 4 done asap PART II-Computer Design) Problem 2: (Instruction Format) (10 Points) The memory unit of a computer has 256K words of 32 bits

Need 4 done asap
PART II-Computer Design) Problem 2: (Instruction Format) (10 Points) The memory unit of a computer has 256K words of 32 bits each. The Computer has an instruction format with four fields: an operation code field, a mode field to specify one of seven addressing modes, a register field to specify one of 60 processor registers, and a mem address. Specify the instruction format and the number of bits in each field if the instruc one memory word. ory tion is in Problem 3: (CPU-Instruction Formats) (20 Points) (a) Write a program to evaluate the arithmetic statement: X-(8- (D-B for the following Architectures: (1) A general register computer with three address instructions. (2) A general register computer with two address instructions Assume that 8-bit opoodes, 6.bit operands and addresses, and that data s moved to and from memory. You could use any temporary needed Your answers should include (b) the size of your program in bytes and (c) the memory bandwidth to execute this program. Problem 4 (Addressing Modes) (10 Points) A two-word instruction is stored in memory at an address designated by the symbol W. The address field of the instruction (stored at W+1) is designated by the symbol Y. The operand used during the execution of the instruction is stored at an address symbolized by Z. A processor register R1 contains the number A. A Base register contains the value B. State how Z. is calculated from the other addresses if the addressing mode of the instruction is (a) Immediate (b) Direct (c) Indirect (d) Register (e) Register Indirect (a) Base Register (h) Relative A majority function is generated in a combinational circuit when the output is equal to 1i input variables have more I's than O's. The Problem 5 (Combinational Circuits) (15 points) output is 0 otherwise. Design a three -input majority other logie gates, (C) Logic Diagram in NAND gates only Four design work should show the simplest form function. Please provide (A) Truth table, (B) Logie Digram in AND, OR, NOT gates or
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
