Monday, May 13, 2019

Operating Systems and Networking Coursework Example | Topics and Well Written Essays - 1250 words

Operating Systems and Networking - Coursework Examplethe quest fields opcode 8 bitsra 6 bits rb 6 bitsrc 6 bitsrd 6 bitswhere ra, rb, rc, specify threesome input registers and rd specifies one destination register. If there is a single register file to store the identifications of in all registers, how many registers could there be in that register file?1.3. A processor has 24 registers, uses 8-bit immediate, and has 36 different instructions (corresponding to 36 operation codes) in its instruction set. These 36 instructions argon separate into 4 types as listed belowAssume that the ISA requires that all instructions be multiple of 8 bits (1 byte) in length, and the operation codes (opcodes) are fixed length. Answer the following questions and write down the calculation steps involved. grapheme C 6 bits of the operation code, 5 bits for the source register, 8 bits of the immediate, and 5 bits of the destination register. This totals to 19 bits. These are rounded up again to 24 bi ts. 24 bits are equivalent to 3 bytes. Therefore 3 bytes are required to encode type c instruction.The pipelining diagram is used to show the execution of a series or a sequence of instructions of processes of a computer. In the diagram, the sequence of instructions is shown vertically that is from the top to the bottom. As for the clock cycles, they are often shown in the horizontal that is from the left to the right. Each and all instruction is divided into its component stages.There are 3 instructions. Suppose a non-pipelining processor took 50 Nano seconds to process one instruction, and then it would take 3 * 50 = 150 Nano seconds to complete all the instructions. and when pipelining is used, we instead have 4 segment pipeline with a clock cycle that takes at least(prenominal) 10 Nano seconds approximately.2.2. Suppose we have a slightly more complex program with data habituation and branches. Assume that in the case of branching, the instruction following a branch is alway s executed. Note that a conditional branch

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.