Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PBL Assignment Page 1 of 5 PBL 1 ASSIGNMENT NAME / ID : COURSE/CLASS : EIT / FBA / MEC / SEPD SEMESTER : 4

PBL Assignment

Page 1 of 5

PBL 1 ASSIGNMENT

NAME / ID :

COURSE/CLASS :

EIT / FBA / MEC / SEPD

SEMESTER :

4

SUBJECT CODE :

MPC 0822

DATE :

SUBJECT NAME :

MICROCONTROLLER

WEEK :

DURATION :

2 Hours

VENUE :

L11-006

LECTURER :

MOHD FAIZAL ISMAIL

TOPIC :

CHAPTER 5 : INSTRUCTION SETS

SUB-TOPIC :

PBL 1 : BASIC CALCULATOR

LEARNING OUTCOME :

After completing the topic, students should be able to:

1. Explain the hardware architecture of the 80C515C microcontroller.

2. Identify the input and output requirement of the microcontroller application.

3. Apply and write the relevant instruction set

Compile, debug and evaluate the program application

TOOLS / EQUIPMENTS / MATERIALS :

1. Platform with integrated power module 5V

2. Main adapter, AC 230V 50 Hz

3. SAB 80C515/535 Microcontrolller unit

4. LED unit

5. Switch unit

6. Buzzer/Speaker unit

7. MCLS-modular IDE software or...

8. Keil uVision 5 Compiler IDE software

INSTRUCTION :

1. Isolate the power supply from the MCLS-modular platform.

2. Insert the SAB 80C515/535 Microcontroller unit at the centre of the platform. Take care with the contact pin of the module unit.

PBL Assignment

Page 2 of 5

3. Insert the LED-unit to the right of the

SAB 80C515/535 Microcontroller unit.

4. Insert the Switch-unit to the left of the SAB 80C515C/535 Microcontroller unit.

5. Connect switch, LED and buzzer/speaker to proper port and I/O.

6. Connect the power supply to the MCLS-modular.

PROCEDURE

STEP

KEY POINT

1. Problem Statement:

A BASIC CALCULATOR is to be produce with basic arithmetic function. User can key in any two values and execute the operation, and finally check the result. design, write & simulate the expected program

2. What's you need to do:

2.1 To present the instruction set involve for arithmetic operation

2.2 To demo the application & submit the practical report

3. Course content:

Addressing Modes

Register addressing

Direct addressing

Immediate addressing

Register indirect addressing

Base register plus index register addressing

Introduction to the instruction set

Data transfer

Arithmetic group

Logic group

Control group

Bit Manipulation

Execute the program and check your results.

PBL Assignment

Page 3 of 5

PROCEDURE

STEP

KEY POINT

4. Learning objectives:

1) Identify addressing modes of an instruction.

2) Explain the addressing modes.

3) Identify the functionality of an instruction.

4) Write program for each group of instruction set.

5. Know

1) Basic arithmetic operation.

2) Data transfer operation.

3) Checking values in internal and external memory.

6. Don't know:

1) Instruction set available for arithmetic operation.

2) Memory result after doing arithmetic operation.

7. Need to find:

1) Instruction set for arithmetic operation.

2) Finding the stored result after operation.

8. Unit Content and Assessment Objectives

8.1. Introduction - Describe the overall block diagram, flowchart and system operation.

8.2. Hardware Design - Investigate the specify of I/O's, develop the I/O test patterns/signal conditionings and produce the complete I/O layout diagram.

8.3. Software Design - Develop the

PBL Assignment

Page 4 of 5

PROCEDURE

STEP

KEY POINT

assembly program and various subroutines to integrate them and produce a complete program.

8.4. Program creativity.

8.5. Simulation - Test the functionality of the system against the design specification. Get the result and analyze on the findings supported with images, photos and etc.

8.6. Suggestion/Recommendation and Conclusion.

8.7. References.

RESULT :

Write the complete PBL assignment report and details program with the comment for each of instruction. (Refer Unit Content and Assessment Objectives)

QUESTION/DISCUSSION :

Write the discussion for the PBL assignment.

CONCLUSION :

Write the conclusion for the PBL assignment.

REFERENCES :

1. SAB 80C515/535 Datasheet

2. SAB 80C515/535 Instruction Set

3. MPC 0822 Microcontroller Handout

4. Keil uVision 5 IDE Software Tutorial

PBL Assignment

Page 5 of 5

Marks Distributions (Fill by Lecturer)

No

Evaluations

Marks

1

Explanation and understanding

(4)(8)(12)(16)(20)(24)(28)(32)(36)(40)

2

Neatness installation

(2)(4)(6)(8)(10)(12)(14)(16)(18)(20)

3

Complexity

(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)

4

Hardware functionality

(2)(4)(6)(8)(10)(12)(14)(16)(18)(20)

5

Report submission

(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)

TOTAL

/100

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions