Professional Documents
Culture Documents
Arm Od 00ist2023
Arm Od 00ist2023
LAB FAT
Professor: Dr. Naresh K Slot: L15 + L16
1. Name: Bhimaraju Hari Prashant
2. Registration Number: 19BCT0154
Team Members:
3. Bhimaraju Hari Prashant – 19BCT0154
4. Lakshmi Tarun Kodali – 19BCT0113
5. Narapureddy Ram Rohith – 19BCT0131
IDE: Keil µVision IDE
MOV R0,#01
MOV R3,#00
LDR R1,=array
MOV R2,#0x09
lbl LDR R5,[R1]
TST R0,R5
ADDNE R3,R3,#01
SUBS R2,R2,#01
ADD R1,R1,#4
BPL lbl
l Bl
array DCD 0X11223343, 0X12345672, 0X002917BD3, 0X00000A01,
0X62398746, 0XAB56E3CE, 0X0A761AC7, 0X623ABC46, 0XAB86E3BD,
0X0A762DE9
END
Further in depth explanation has been provided in the video link attached
at the bottom of the file.
d) What will be the name of the program in case the instruction 11 in the
Fig.1 is replaced with ADDEQ R3,R3,#01
→ Number of even elements in the array.