COA Project.pptxkjnjnjbjkbn,n,njkjjnnjln , nkn n,k
1. COA Lab Project (2016-17)
The LNMIIT, Jaipur
Digital Single Lens Reflex
Camera (DSLR)
Ashish Karel (15UCS027)
Ayush Soral (15UCS031)
Nitin Chaudhary (15UCS088)
Pradyumn Agrawal (15UCS096)
2. Introduction
● We are building an Instruction Set
Architecture for a “DSLR Camera”. We
can access the images kept in gallery
and delete them.
● We are developing it for a 16 - bit
machine.
3. Functions
● ISO :- ISO sensitivity is a measure of the camera's ability to
capture light.
● Aperture : - Aperture controls the brightness of the image
that passes through the lens and falls on the image sensor.
● Shutter Speed : - Shutter speed is a measurement of the
time the shutter is open.
● Manual Focus : - Manual Focus (MF) is the system that
manually adjusts camera focus.
● Flash : - Used in absence of light to brighten the object.
● Movie Mode : - Display the image on the screen live.
● Gallery : - Display the images clicked by the camera.
4. Functions
● Zoom : - Zoom in/out the image.
● Click Pic : - To take a picture.
● Modes : - Various modes to automatically set few settings
of camera according the mode. E.g. Panorama, Landscape,
etc.
● Power : - Switch On/Off the camera.
5. Memory Model
▪ Cell Size : 16 bits
▪ Little Endian
▪ Aligned Memory Instructions
6. Registers
▪We will be using General as well as
Special Registers.
▪We are using 16 registers.
▪Special Purpose Registers :
Program Counter
Instruction Register
Flag Register
17. Flow of Control Handling
▪We will initially store the all the
settings of the camera in the
memory cells and keep them
updated with each new set of
instructions.
▪All the operations will be handled on
these set of registers.
▪Whole data is passed indirectly
between these instructions.
19. Microroutines
• Load R1, C (Immediate Value)
▪ Immediate_Value of IRoutC , R=C, R1in , End
• Add R4, R2
▪ R4outA , R2outC , Select A , ADD , R6in
▪ R6outC , R=C , R4in , End
• Mov R1, R2
▪ R2outC , R=C , R1in , End
20. Microroutines
• Sub R4, R2
▪ R4outA , R2outC , Select A , SUB , R6in
▪ R6outC , R=C , R4in , End
• CMP R1, R2
▪ R1outA , R2outC , Select A , SUB , R6in , End
• JMP R2
▪ R2outC , R=C , PCin , END
21. Manual Focus MFS R1, R2, R3
▪ IN, MDRoutB, R = B, R1in
▪ IN, MDRoutB, R = B, R2in
▪ IN, MDRoutB, R = B, R3in
▪ MFS
▪ END
22. Gallery GAL @R1, R2
▪ IN, MDRoutB, R = B, R1in
▪ IN, MDRoutB, R = B, R2in
▪ R1out, MARin, READ, WMFC
▪ MDRoutB , R = B, FILEin
▪ R2outA , ONE, Select A , SUB , R6in
▪ VEDEL
▪ END
23. SHS R1
▪ IN, MDRoutB, R = B, SPEEDin
▪ SHUTTER
▪ END