Trả lời:
Đáp án đúng: B
Để biểu diễn số -125 trong thanh ghi 8 bit, ta sử dụng phương pháp bù 2.
1. **Biểu diễn số dương 125:** Số 125 trong hệ nhị phân là 01111101.
2. **Tìm số bù 1:** Đảo tất cả các bit của 01111101, ta được 10000010.
3. **Tìm số bù 2:** Cộng 1 vào số bù 1 (10000010 + 1 = 10000011).
Vậy, biểu diễn của số -125 trong thanh ghi 8 bit là 10000011B.
This is a comprehensive multiple-choice question bank for the Microprocessor 1 course, tailored for Electrical - Electronics Engineering students. It covers core topics such as microprocessor systems, data representation in computers, the architecture and instruction set of the 8086 microprocessor, assembly language programming, and the 8051 microcontroller.
9 câu hỏi 60 phút