0% found this document useful (0 votes)
35 views2 pages

Sheet 2 PDF

This document contains a problem set for a microprocessors and applications course. The 14-question problem set covers topics like assembler directives, binary/decimal/hexadecimal conversions, complement representations, floating point numbers, bus signals, and Unicode encoding. Students are asked to define assembler directives, convert between numbering systems, perform complement operations, decode bus signals, and demonstrate understanding of floating point and Unicode standards.

Uploaded by

AhmedGamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Sheet 2 PDF

This document contains a problem set for a microprocessors and applications course. The 14-question problem set covers topics like assembler directives, binary/decimal/hexadecimal conversions, complement representations, floating point numbers, bus signals, and Unicode encoding. Students are asked to define assembler directives, convert between numbering systems, perform complement operations, decode bus signals, and demonstrate understanding of floating point and Unicode standards.

Uploaded by

AhmedGamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Electrical Engineering Department

Semester:Fall 2020
Subject: CMP351 – Microprocessors
&Applications
Instructor: Prof. Galal Nadim

Problem Set 2

1. Define the purpose of the following assembler directives:


(a) DB
(b) DQ
(c) DW
(d) DD

2. Convert the following binary numbers into decimal:


(a) 1101.01
(b) 111001.0011
(c) 101011.0101
(d) 111.0001

3. Convert the following decimal integers into binary, octal, and hexadecimal:
(a) 23
(b) 107
(c) 1238
(d) 92
(e) 173

4. Convert the following binary numbers to the one’s complement form:


(a) 1000 1000
(b) 0101 1010
(c) 0111 0111
(d) 1000 0000

5. Convert the following binary numbers to the two’s complement form:


(a) 1000 0001
(b) 1010 1100
(c) 1010 1111
(d) 1000 0000

6. Convert the following decimal numbers into signed binary words:


(a) +1000
(b) -120
(c) +800
(d) -3212

1
7. Convert the following BCD numbers (assume that these are packed numbers) to
decimal numbers:
(a) 10001001
(b) 00001001
(c) 00110010
(d) 00000001

8. Convert the following decimal numbers into single-precision floating-point numbers:


(a) +1.5
(b) –10.625
(c) +100.25
(d) –1200

9. Which bus transfers the memory address to the I/O device or to the memory?

10. Which control signal causes the memory to perform a read operation?

11. What is the purpose of the IORC signal?

12. If the MRDC signal is a logic 0, which operation is performed by the microprocessor?
13. Convert the following hexadecimal numbers into binary-coded hexadecimal code
(BCH):
(a) 23
(b) AD4
(c) 34.AD
(d) BD32
(e) 234.3

14. What is the Unicode?

You might also like