30. Write the control sequence with the one-byte data bus to implement the ASLA instruction, which does

Question:

30. Write the control sequence with the one-byte data bus to implement the ASLA instruction, which does an arithmetic shift left of the accumulator and puts the result back in the accumulator. The RTL specification of ASLA at the ISA3 level shows that, unlike ASRA, the V bit is set to indicate an overflow when the quantity is interpreted as a signed integer. At the Mc2 level, an ASLA instruction is implemented as an ASL on the low-order byte followed by an ROL on the high-order byte. Even though the ROL operation does not set the V bit at the ISA3 level, Figure 10.55 shows that the ALU function for ROL does compute the V bit at the Mc2 level. So, you can access the V output from the ALU on the ROL operation. Assume the instruction has been fetched and the program counter has been incremented.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Systems

ISBN: 9781284079630

5th Edition

Authors: J Stanley Warford

Question Posted: