Tutorial 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

MALAYSIAN INSTITUTE OF INFORMATION TECHNOLOGY

COMPUTER ENGINEERING SECTION

TUTORIAL 1

Note: Beside notation (H) and X16, Hexadecimal numbers are also often preceded by the $
symbol. Ex: $4F = 4FH = 4F16

1. Evaluate the decimal equivalent of binary number 101.012.

2. Convert the integer decimal numbers that follow to their equivalent byte-wide binary
form.
a. 9
b. 42
c. 100

3. Convert the following binary numbers to hexadecimal form.


a. 001110012
b. 111000102
c. 00000011101000002

4. Evaluate the binary equivalent of each of the following hexadecimal number.


a. 6B16
b. F316
c. 02B0H

5. A byte of data read from memory in an 8086-based microcomputer is observed with


an instrument to be 110001102. Express the data as a hexadecimal number. What is
the decimal value of the data?

6. Perform the binary addition for the following decimal numbers addition.
a. 7+8
b. 120+140

7. Compute the 8-bit binary equivalent of the following signed numbers:


a. -9
b. -16

Tutorial IBB21204/INB22603 – Microprocessor 1


MALAYSIAN INSTITUTE OF INFORMATION TECHNOLOGY
COMPUTER ENGINEERING SECTION

8. What is the minimum number of binary bits needed to represent each of the following
unsigned decimal integers?
a. 4095
b. 65534
c. 42319

9. What is the sum of each pair of hexadecimal integers?


a. 6B4 + 3FE
b. A49 + 6BD

10. Challenge: What is the largest decimal value you can represent, using a 86-bit
signed integer?

Tutorial IBB21204/INB22603 – Microprocessor 2

You might also like