Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please submit Lab4.pdf inculding the following: 1. Open your 8-bit CPU working circuit file Do the following operations: 1. load the number 8 into memory
Please submit Lab4.pdf inculding the following: 1. Open your 8-bit CPU working circuit file Do the following operations: 1. load the number 8 into memory location 5 2. move (the contents in memory location 5 to the PC 3. increment the PC Write down the microinstructions to hand-in: 2. Execute the following program (Hand in) a). Write out the equivalent assembly language mnemonics of the following machine language code: Location Contents Assembly Language Mnemonics 0 10000001 1 00010110 2 00000101 3 00001000 b). Load the above program (in machine code) to the memory. C). Pre-load value 1 in the B register, preload in the memory location 8. d). Write out the microinstructions necessary to execute the program. To execute the program, make sure the PC points to the beginning of the program. Hand in the procedures used in the different steps including the equivalent assembly language mnemonics and microinstructions needed for pre-loading and exection of the program. 3. Implement the following tasks with your 8-bit CPU circuit, remember to pre-load the registers or memory when needed: 1) Write out and hand in the microinstructions to perform this operation XOR #5, (C) including the machine code and how you load it to the memory. Pre-load the registers or memory when needed. For example: Load 00001000 to the C register Load 00000000 to the memory location 8 2) Write out and hand in the microinstructions to perform the operation OR 5, 8 including the machine code and how you load it to the memory. Pre-load the registers or memory when needed. For example: Load 00000000 to the memory location 5 Load 00001010 to the memory location 8
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started