You are on page 1of 5

Bangladesh University of Engineering and

Technology

Course No.: EEE 416


Course Title: Microprocessors and Embedded Systems.
Laboratory

Experiment No.: 06 & 07

Submitted By:
Rifat Bin Rashid
ID: 1606117
Section: B2
Level: 4 Term: 1
Problem 1:

CODE:
Output:

Here, S and P are declared to store the results from (A+B) and
(A+B)*C.
Problem 2:

Code:
Output:

Here,
A= 4509 F056 (H)
B= 1509 1056 (H)
C= A*B = 5AC 4278 5162 1CE4 (H)
This result was justified by a hex calculator and the same
output was obtained by code.

You might also like