You are on page 1of 1

Experiment No.

3
Even & Odd Program
Objective:
 To Check Even & Odd Number using Assembly Language in Keil µVision.

Apparatus:
1. Keil µVision (Software)
2. Personal Computer
Procedure:
1. Create a New Project and Select Vendor, Device & toolset i.e. ARMCM4
2. Then From the Project Window Right Click on Source Group and Select Asm File and
save it.
3. Now write some Libraries or Default Command i.e.
AREA Mycode,Code,Readonly
ENTRY
EXPORT Reset_Handler
Reset_Handler

Code & Output for Even:

Conclusion:
In this lab I have learned, how to use different arthematic operations to find even and odd value
in a register,

You might also like