Question: Many older computers used an alternative to the BRANCH ON CONDITION instruction called SKIP ON CONDITION that worked as follows: if the condition were true,
Many older computers used an alternative to the BRANCH ON CONDITION instruction called SKIP ON CONDITION that worked as follows: if the condition were true, the computer would skip the following instruction and go on to the one after; otherwise, the next instruction in line would be executed. Programmers usually place a jump instruction in the “in-between” location to branch on a FALSE condition. Normally, the skip instruction was designed to skip one memory location. If the instruction set uses variable length instructions, however, the task is more difficult, since the skip must still skip around the entire instruction. Assume a Little Man mutant that uses a variable length instruction. The op code is in the first word, and there may be as many as three words following. To make life easy, assume that the third digit of the op code word is a number from 1 to 4, representing the number of words in the instruction. Create a fetch–execute cycle for this machine.
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
This ones tough It requires some real thought on the part of the s... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1806_60b8c1213e43a_721397.pdf
180 KBs PDF File
1806_60b8c1213e43a_721397.docx
120 KBs Word File
