[amp_mcq option1=”Add” option2=”Shift” option3=”Multiply” option4=”Subtract” correct=”option1″]
The correct answer is A. Add.
An 8-bit command is a command that can be executed by a microprocessor in 8 clock cycles. The MC68HC11 is a 16-bit microprocessor, but it can also execute 8-bit commands. The 8-bit commands in the MC68HC11 are:
- ADD: Adds two 8-bit numbers.
- SUB: Subtracts two 8-bit numbers.
- AND: Performs a logical AND operation on two 8-bit numbers.
- OR: Performs a logical OR operation on two 8-bit numbers.
- XOR: Performs a logical XOR operation on two 8-bit numbers.
- CMP: Compares two 8-bit numbers.
- INC: Increments an 8-bit number.
- DEC: Decrements an 8-bit number.
- TST: Tests an 8-bit number.
- MOV: Moves an 8-bit number from one location to another.
- CLR: Clears an 8-bit number to 0.
- SET: Sets an 8-bit number to 1.
The 8-bit commands in the MC68HC11 are all very simple and can be executed very quickly. This makes them ideal for use in embedded systems, where speed is often critical.