Hi guys I need some help with this Microprocessors class exe

Hi guys! I need some help with this Microprocessors class exercise. Any help will be appreciated and rated ++! Thanks!

RAM File Registers up to 4R bytes Instruction Reg 12 Program Counter address BSR. 31 Data address Program Memory up to 2M bytes ProdH ProdL data 16 8x8 Multiply Bit op Literal w Reg Simplified Processor Core Peripherals not shown

Solution

Specification of internal architecture is given below...
program counter:
The program counter contains the address of the memory location from which the next instruction code will be taken.

Instruction Reg:
The registers are used to store binary information during the execution of a program. Each register has a specific function associated with it

Bit opt/Literal:
Number of bits can be used to represents the number/character for computing.

BSR:
The high order bits of the Direct Address for the RAM are from the BSR(Bit set/Reset) register (except for the MOVFF instruction).

ALU:
An arithmetic logic unit (ALU) is a combinational digital electronic circuit that performs arithmetic and bitwise operations on integer binary numbers


sequence instruction cycle of a program stored in the machine is given below...

Fetch the instruction: The next instruction is fetched from the memory address that is currently stored in the program counter (PC), and stored in the instruction register (IR). At the end of the fetch operation, the PC points to the next instruction that will be read at the next cycle.
Decode the instruction: During this cycle the encoded instruction present in the IR (instruction register) is interpreted by the decoder.
Read the effective address: In case of a memory instruction (direct or indirect) the execution phase will be in the next clock pulse. If the instruction has an indirect address, the effective address is read from main memory, and any required data is fetched from main memory to be processed and then placed into data registers (Clock Pulse: T3). If the instruction is direct, nothing is done at this clock pulses. If this is an I/O instruction or a Register instruction, the operation is performed (executed) at clock Pulse.
Execute the instruction: The control unit of the CPU passes the decoded information as a sequence of control signals to the relevant function units of the CPU to perform the actions required by the instruction such as reading values from registers, passing them to the ALU to perform mathematical or logic functions on them, and writing the result back to a register. If the ALU is involved, it sends a condition signal back to the CU. The result generated by the operation is stored in the main memory, or sent to an output device. Based on the condition of any feedback from the ALU, Program Counter may be updated to a different address from which the next instruction will be fetched.

Hi guys! I need some help with this Microprocessors class exercise. Any help will be appreciated and rated ++! Thanks! RAM File Registers up to 4R bytes Instruc

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site