Answer any seven out of ten. દશમ થા ી કોઇપણ સ તન જવ બ આપો. 1. If content of Ais 8Fh and content of Bis 80h then content of Aand B after execution of XRA Bwill be and respectively ૧. જો A ન ા કનટન ટ 8Fh અન B ન ા કનટન ટ 80h હોયતો XRA B ઇનરકશનન એકકિકયશ ન પછી A અન B ન ા કનટન ટ અનકર મ ______ અન ______હોય. 2. Why do we require to demultiplex multiplexed address/data bus. Which signal is used to demultiplex it? ૨. મલટીપલક ડ એડરસ /ડટ બસન ડીમલટીપલક સીગની જરર શ મ ટ છ? કય કસગનલ ડીમલટીપલક સીગ મ ટ વપર ય છ? 3. List Hardware vector Interrupts of 8085 microprocessor with its vector address & priority ૩. 8085 મ ઇકરોપરોસસ રની હ ડવડ ર વક ટર ઇનટરપસ કવશ તન વક ટર એડરસ અન પર યોરટ ી સ થ લખો. 4. Write appropriate instruction for following function. (1) (A)-(B) (2)(A)(A)-(B) ૪. નીચન ફકા શન મ ટ યોગય ઇનરકશન લખો.(1) (A)-(B) (2)(A)(A)-(B) 5. List temporary registers in 8085.What is their function? ૫. ટમ પરરી રજીટરન ન મ લખો.તમન ા શ ા ફકા શન છ? 6. Define T-state and machine cycle ૬. T-state અન મશીન સ ઇકલની વય ખય આપો. 7. Define (1)memory map (2)Timing diagram ૭. વય ખય આપો.(1) મમ રી મપ (2) ટ ઇમમગા ડ ય ગર મ 8. IC 8255 has ports. List modes of IC8255 ૮. IC 8255ન ______પોટડ છ. IC8255ન મોડસ લખો. 9. Define : ( 1) Opcode (2) Instruction cycle ૯. વય ખય આપો.(1)ઓપકોડ (2) ઇનરકશન સ ઇકલ 10. Form delay subroutine using register pair. ૧૦. રજીટરપર નો ઉપયોગ કરીન ડીલ સબરટીન બન વો.
State 8085 addressing modes with one example of each mode (ક) 8085ન એડરમસગા મોડસ કવશ એક ઉદ હરણ સ થ લખો.
[4 marks]Draw & explain flag register (ડ) ફલગ રજીટર દોરો અન સમજાવો.
[4 marks]Write the output of following program LXI H 1040H LXI D 2040H DAD D HLT (ડ) નીચન પરોગર મન ા આઉટપટ લખો. LXI H 1040H LXI D 2040H DAD D HLT
[4 marks]List 8-bit & 16-bit registers of 8085 microprocessor. Write function of any one 16-bit register. પરશન. ર (અ) 8085 મ ઇકરોપરોસસરન 8-bit અન 16-bit રજીટર કવશ લખો.કોઇ એક 16-bit રજીટરન ાક યડ લખો.
[3 marks]1/4
[ marks]How many memory locations are required to store following instructions? (1)JNC 6050H(2)OUT 45H(3)XTHL (અ) નીચન ી ઇનરકશન મમ રીમ ા ટોર કરવ મ ટ કટ લ મમરી લોકશ નસ જોઇએ. (1)JNC 6050H(2)OUT 45H(3)XTHL
[3 marks]What is Bus? State types of 8085 buses and explain in brief. (બ) બસ શ ા છ? 8085ન બસન ટ ઇપ જણ વો અન ટક ા મ ા સમજાવો.
[3 marks]Draw symbolic notation for following instructions (1)CMC (2) JMP E5E5H (3) IN 08H (4) SBB D (ક) નીચન ી ઇનરકશન મ ટ કસમબોકલક નોટશ ન લખો. (1)CMC (2) JMP E5E5H૦૪ (3) IN 08H (4) SBB D
[4 marks]Draw pin diagram of 8085 (બ) 8085નો પીન ડ ય ગર મ દોરો.
[3 marks]Write assembly language program to count number of 1’s in a byte given in register C. Store result in register B. (બ) રજીટર Cમ ા આપલ બ ઇટમ ારહલ 1’sની ગણતરી કરી રીિલટ રજીટર Bમ ા ટોર કરો.
[3 marks]Compare following instruction 0 (1)SBI 65H and SUI 65H (2)RAL and RLC (3)CC 6050H and CNC 6050H (4) LXI H,A050H and LHLD A050H (ડ) નીચન ી ઇનરકશન સરખ વો. (1)SBI 65H અન SUI 65H (2)RAL અન RLC (3)CC 6050H અન CNC 6050H (4) LXI H,A050H અન LHLD A050H
[4 marks]Explain BSR mode in IC 8255? (ડ) IC 8255નો BSR મોડ સમજાવો.
[4 marks]Draw interfacing circuit of LED and SWITCHES using IC 74LS245 with8085 (ક) IC 74LS245નો ઉપયોગ કરી 8085 સ થ LED અન SWITCHESન ા ઇનટરફમ સગા કરવ ની સરકટડ દોરો.
[4 marks]Give short answer for following (1)Which mode is used in IC8255 to set/reset bits of port C? (2)Which instruction is used for BCD arithmetic? (3)Which registers can be used as a register pair of 8085? પરશન. 3 (અ) નીચન મ ટ ટક ા મ ા જવ બ લખો. (1) IC8255ન પોટડ C ન બીટ સટ /રીસટ કરવ મ ટ કયો મોડ વપર યછ? (2) BCD arithmetic મ ટ કઇ ઇનરકશન વપર યછ? (3) 8085મ ા કય રજીટસડ રજીટરપર તરીક વ પરી શક ય?
[3 marks]Draw timing diagram of MOV A, Dinstruction (અ) MOV A, D ઇનરકશનનો ટ ઇમમગા ડ ય ગર મ દોરો.
Draw block diagram of 8085 microprocessor and explain each block. (ક) 8085 મ ઇકરોપરોસસરનો બલોક ડ ય ગર મ દોરો અન દરક બલોક સમજાવો.
[7 marks]4-bit (b)8-bit (c)16-bit 3. 8 Kbytes મમરી ચીપ મ ટ મમરીલોકશન કસલક ટ કરવ કટ લી એડરસ લ ઇન જોઇએ?
[ marks]3 (b)10 (c)13
[ marks]What is stack? How data is stored & retrieve from it? List instructions used with stack operation (બ) ટક શ ા છ? તમ ા ડટ ટોર અન રીર ઇવ કઇ રીત થ ય છ? ટક ઓપરશ ન સ થ સાકળ યલ ઇનરકશનસ લખો.
[4 marks]Explain Looping, Counting & Indexing in brief. (બ) લ મપગા ,ક ઉટીગ અન ઇડમ કસગા ટ ાકમ ા સમજાવો.
[4 marks]Write status of flags affected after execution of following instructions 0 (1)INX D (2)RAR (3)CP 4080H પરશન. ૪ (અ) નીચન ી ઇનરકશનન એકિીકયન પછી કય ફલગ ન અસર થશ? (1)INX D (2)RAR (3)CP 4080H
[3 marks]1. The 1st cycle of every machine cycle of 8085 microprocessor is a 0 ( a) Fetch cycle (b) Execute cycle (c) Fetch and execute both 2.Port address in 8085 microprocessor is
Write a program to complement content of memory location 4000H and store the result in memory location 4001H (ડ) મમરી લોકશ ન 4000Hન કનટન ટન ા કમપલીમન ટ કરી રીિલટ 4001Hમ ા ટોર કરો. 4/4
[3 marks]Write program to move content of memory location 2040H to register C (ક) મમરી લોકશ ન 2040Hન ા કનટટ રજીટર C મ ા ર નસફર કરવ મ ટન ો પરોગર મ લખો.
[3 marks]Explain the function of following pins of 8085 (1) SID (2)Ready (3)HLDA (4) RST 7.5 (બ) 8085 ની નીચની પીનન ક યો લખો. (1) SID (2)Ready (3)HLDA (4) RST 7.5
[4 marks]What will be the content of A & CY flag after execution of following each instruction? MVI A,80H 3/4 XRA A RAR RRC પરશન. ૫ (અ) નીચની દરક ઇનરકશન એકિીકયટ થય પછી રજીટર A અન CY ફલગ ન ાકનટટ લખો. MVI A,80H XRA A RAR RRC
[4 marks]Explain following instructions: (i)ADI 65H (ii) MVI E,90H(iii) CMA (બ) નીચન ી ઇનરકશન સમજાવો (i)ADI 65H (ii) MVI E,90H(iii) CMA
[3 marks]Compare memory mapped I/Oand I/Omapped I/O (ક) મમરી મપ ડ I/O અન I/O મપ ડ I/O સરખ વો. 2/4
[4 marks]4-bit (b)8-bit (c)16-bit 3. How many address lines does 8 Kbytes memory chip needed to select memory location?
[ marks]3 (b)10 (c)13 (અ) 1. 8085 ની પરથમ મશીન સ ઇકલ હામશ કઇ હોય છ? ( a) Fetch cycle (b) Execute cycle (c) Fetch and execute both 2. 8085ન ા પોટડ એડરસ કટ લ બીટન ા હોય છ?
[3 marks]