0% found this document useful (0 votes)
22 views

001 Tutorial Solution

The document provides solutions to 5 microprocessor questions involving binary arithmetic operations such as addition, subtraction and determining overflow. Each question shows the step-by-step work including binary representations of numbers, carrying out the arithmetic operations and checking for overflow.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

001 Tutorial Solution

The document provides solutions to 5 microprocessor questions involving binary arithmetic operations such as addition, subtraction and determining overflow. Each question shows the step-by-step work including binary representations of numbers, carrying out the arithmetic operations and checking for overflow.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

College of Engineering

Universiti Tenaga Nasional


EEEB373 Microprocessor system

Tutorial 1 Solution

Q1)
75710 = 2F516 = 10,1111,01012
12310 = 7B16 = 111,10112
Q2)
111,010,110,001.0112 = 7261.38 = 1110,1011,0001.01102 = EB1.616 = 3761.3810
010,110,011,101.1102 = 2635.68 = 0101,1001,1101.11002 = 59D.C16 = 1437.7510
Q3)
1111 (-1) 1111 (-1) 110110 (-10) 110110 (-10)
+ 1010 +(-6) - 1010 -(-6) + 111101 +( -3) - 111101 -( -3)
(1)1001 = (-7) (0)0101 = (5) (1)110011 =(-13) (1)111001 =( -7)
no overflow no overflow no overflow no overflow
Q4)
21 + 11 (-14) + (-32) (-25) + 18
010101 110010 100111
+ 001011 + 100000 + 010010
100000 = -32 (1)010010 = +18 111001 = -7
overflowed overflowed no overflow
Q5)
11010-10100 01011-11000 10001-01010
=> -6-(-12) = +6 => 11-(-8) = 19 => -15-10 = -25
11010 =-6 01011 =+11 10001 =-15
+ 01100 =+12 + 01000 =+8 +10110 =-10
(1)00110 =+6 10011 = -13 00111 = +7
no overflow overflowed overflowed

You might also like