<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-83245777239558452</id><updated>2026-03-14T23:12:57.806+05:30</updated><category term="Lecture Notes"/><category term="IIT Lecture Videos on"/><category term="Video Lecture Series on"/><category term="Video lectures from IIT Professors"/><category term="8051 Mircrocontroller"/><category term="Mazidi"/><category term="BSNL  TTA"/><category term="GATE 2014"/><category term="SATISH KASHYAP"/><category term="previous gate papers"/><category term="Lecture PPTs for"/><category term="Multiple Choice and Objective Questions for GATE and JNTU"/><category term="assignment solutions"/><category term="iit videos"/><category term="video solutions"/><category term="John Choma"/><category term="Previous 20 years gate papers"/><category term="edc"/><category term="electron devices"/><category term="gate previous papers"/><category term="DIGITAL ELECTRONICS"/><category term="EDC Tutorials"/><category term="GATE 2015"/><category term="ISRO 2014"/><category term="TS Transco"/><category term="U Can Do"/><category term="egate"/><category term="gate 2017"/><category term="satish kashayp"/><category term="ELECTRONICS"/><category term="GATE 2016"/><category term="GATE Solutions"/><category term="SDSD Assignments"/><category term="ace material"/><category term="ece"/><category term="electronic devices"/><category term="not available in nptel"/><category term="shanthi pavan"/><category term="(IIT KGP)"/><category term="Additional Material for SDSD"/><category term="Analog electronics"/><category term="Answers to GATE previous papers"/><category term="Dr. Randall L.Geiger"/><category term="GATEpaper.in"/><category term="ISRO"/><category term="JNTUH"/><category term="Lecture Notes - digital system design(DSD)"/><category term="Mtech syllabus"/><category term="lecture slides"/><category term="prof. phillip allen"/><category term="2003-2013"/><category term="Advanced digital system design"/><category term="CAD Based Logic Design"/><category term="CMOS Mixed Signal VLSI Design"/><category term="Digital system design"/><category term="EEE"/><category term="Electronic Circuits"/><category term="GATE"/><category term="IIT Bombay"/><category term="IIT Kharagpur"/><category term="Introduction to Integrated circuit design"/><category term="Introduction to LASER"/><category term="Kartik Mohanram"/><category term="Lecture Notes - Structured Digitial System Design (SDSD)"/><category term="MCQs"/><category term="Master&#39;s Thesis"/><category term="Mixed Signal Integrated Circuit Design"/><category term="Prof. Ajit Pal"/><category term="Prof. S.K.Lahiri Sir"/><category term="Prof. Shantanu Dutt"/><category term="Radio Frequency Filter Design"/><category term="SEQUEL"/><category term="U Can Do Video Lecture Series on"/><category term="Understanding FIBRE OPTICS"/><category term="VLSI Domain"/><category term="analog circuits"/><category term="analog ic design"/><category term="analog vlsi design"/><category term="assignments"/><category term="basic electronics"/><category term="bcd adder"/><category term="cad for vlsi design"/><category term="civil"/><category term="cmos analog and mixed signal design"/><category term="control engineering by M.gopal"/><category term="electronics and communications"/><category term="gate 1992"/><category term="ies"/><category term="kamakoti"/><category term="krishnapura"/><category term="lecture material"/><category term="made easy"/><category term="nagendra"/><category term="prof. D.C. Dube sir"/><category term="real time systems"/><category term="s.c.dutta roy"/><category term="shouri chatterjee"/><category term="speech signal processing"/><category term="text books"/><category term="verilog"/><category term="vhdl"/><category term="video lectures from iits and iisc"/><category term="1990"/><category term="1991"/><category term="2014"/><category term="2018"/><category term="4 bit  Adder / Subtractor using 4 bit Adder with a Control line and extra gates."/><category term="4 bit Comparator using 4 bit Adder (IC 74/54 XX 283)"/><category term="4 bit Subtractor Using 4 bit Adder"/><category term="ADC"/><category term="ADCs"/><category term="AGC"/><category term="AGC and SYNC"/><category term="Advanced digital logic design"/><category term="Amplifiers"/><category term="Analog &amp; Digital Electronics"/><category term="Analog to Digital Converters for Mixed Signal ASICs and SOCs"/><category term="Assignments analog IC design"/><category term="Audio"/><category term="Automatic Gain Control"/><category term="Bio electrical signal processing"/><category term="Bioelectromagnetism"/><category term="Biomechanical Modelling of Bone and Cartilage"/><category term="Biomedical Optics"/><category term="Biomedical image analysis"/><category term="Biomedical signal analysis"/><category term="CAD tools to implement digital design"/><category term="CDEEP"/><category term="CPU"/><category term="Communication Engineering"/><category term="Computational Modelling of Cardiovascular System"/><category term="Control Engineering using MATLAB"/><category term="DAC"/><category term="DBMS"/><category term="DC"/><category term="DC MOTOR"/><category term="Data Structures"/><category term="Digital Circuit Design"/><category term="Digital Electronic Circuits"/><category term="Digital Image Processing by"/><category term="Digital System design with PLDs and FPGAs"/><category term="Digital Systems"/><category term="Dr. Agam Prakash Vajpeyi sir"/><category term="Dr. G. Narayanan"/><category term="Dr. Kaushik Roy sir"/><category term="Dr. Pallab Banerji sir"/><category term="Dr. S.K.Gupta sir"/><category term="Dr. sheel Aditya sir"/><category term="Dr.RajKamal"/><category term="Dr.Rajib mall"/><category term="ECE study material"/><category term="EIE syllabus"/><category term="Embedded"/><category term="Flip-flops"/><category term="GATE 1987"/><category term="GATE 1988"/><category term="GATE 1989"/><category term="GATE 1993"/><category term="GATE 1994"/><category term="GATE 2018"/><category term="GATE ME Answers"/><category term="IES ( Conventional ) Electronics and Telecommunications Engineering Previous Papers (1980 -2011)"/><category term="IES ( Objective ) Electronics and Telecommunications Engineering Previous Papers (1997 -2011)"/><category term="IITG"/><category term="IN"/><category term="INTERNAL OPERATION OF TELE VISION"/><category term="Integrated 3-D"/><category term="Integrated Filter Design"/><category term="Integrated circuit devices"/><category term="Introduction to TV"/><category term="JNTU External  AND Objective Questions for EIE"/><category term="JTO"/><category term="LNA design"/><category term="LTI viewer"/><category term="Liang-Hung Lu"/><category term="Low Power VLSI Circuits &amp; Systems"/><category term="M.tech"/><category term="MATLAB by Prof.Routray"/><category term="MBA"/><category term="MCA"/><category term="MIT lecture notes"/><category term="MOS VLSI Design"/><category term="Magazines on Electronics"/><category term="Magnetic Field Sensors"/><category term="Materials for electronics"/><category term="Mechatronics"/><category term="Memory"/><category term="Microelectronic Devices and Circuits"/><category term="Mixed signal ASICs"/><category term="Mobile Computing"/><category term="Multiplexer"/><category term="Open Quiz Online"/><category term="Oscillators"/><category term="PLA Testing"/><category term="PLA folding"/><category term="PLA minimization"/><category term="PRIVACY POLICY"/><category term="Physics and Chemistry"/><category term="Power supplies"/><category term="Processing of Electronic Materials"/><category term="Prof. B.B. Madan sir"/><category term="Prof. Kuruvilla Varghese"/><category term="Prof. M.Gopal"/><category term="Prof. Pallab Das Gupta sir"/><category term="Prof. Pramod Agarwal"/><category term="Prof. S. Karmalkar"/><category term="Prof. Somnath Sengupta"/><category term="Prof. Surendra Prasad sir"/><category term="Prof. Suresh Govindarajan"/><category term="Prof.A.Routray"/><category term="Prof.Dinesh sharma"/><category term="Prof.P.K.Biswas"/><category term="Pulse width Modulation for Power Electronic Converters"/><category term="R13 regulation"/><category term="Rafael C.Gonzalez (2nd ed.)"/><category term="Robust Position Measurement Systems Based on"/><category term="SISO design tool"/><category term="SLIDING MODE"/><category term="SPEED CONTROL"/><category term="Semiconductor Device Modeling"/><category term="Semiconductors"/><category term="SoCs"/><category term="Synchronization"/><category term="TRISTATE LOGIC"/><category term="TV"/><category term="Testing and Verifications of IC by"/><category term="The Front End"/><category term="Transcranial Magnetic Stimulation"/><category term="Tsu-Jae King Liu"/><category term="VLSI"/><category term="VLSI Device Modeling by"/><category term="VLSI design techniques"/><category term="VLSI design verification and test"/><category term="VSLI devices"/><category term="Video lectures from IIT Professors - Civil   Engineering"/><category term="Video lectures from IIT Professors - Computer Science and Engineering (CSE)"/><category term="Video lectures from IIT Professors - Electrical   Engineering"/><category term="Video lectures from IIT Professors - Mechanical  Engineering (ME)"/><category term="Video lectures from IIT Professors for Mathematics"/><category term="Video lectures on Microprocessors and Microcontrollers"/><category term="WIRED LOGIC"/><category term="Wireless"/><category term="active filter design"/><category term="advanced digital signal processing"/><category term="advanced optical communication"/><category term="advanced structural analysis"/><category term="ali ahmed adam"/><category term="all branches"/><category term="analog and digital circuits"/><category term="analog integrated circuit design"/><category term="analog integrated circuits"/><category term="analog rf layout"/><category term="aniruddhan"/><category term="assignment on current mirrors"/><category term="aurobinda routray"/><category term="balakrishnan"/><category term="basic rf concepts"/><category term="basics to advanced"/><category term="bluespec"/><category term="cascode current mirror"/><category term="civil engineering"/><category term="classical field theroy"/><category term="cmos analog IC design syllabus"/><category term="cmos analog and mixed signal design syllabus"/><category term="cmos analog and mixed signal design text books"/><category term="complex digital systems"/><category term="computer organization and design"/><category term="computer science engineering"/><category term="control system tool box"/><category term="control systems"/><category term="cse"/><category term="digital communications"/><category term="digital computer organisation"/><category term="digital hardware design"/><category term="digital image processing"/><category term="digital logic"/><category term="digital logic design"/><category term="distribution"/><category term="dutta roy"/><category term="electrical engineering"/><category term="electronic design automation"/><category term="embedded real time systems"/><category term="embedded systems"/><category term="engineering electromagnetics"/><category term="feedback system simulation"/><category term="fluid mechanics"/><category term="formal languages and computation"/><category term="free download"/><category term="frequency response design"/><category term="gate 1990"/><category term="gate 1998"/><category term="gate 1999"/><category term="gate 2000"/><category term="gate 2001"/><category term="gate 2002"/><category term="gate 2003"/><category term="gate 2004"/><category term="gate 2006 solutions"/><category term="gate 2007"/><category term="gate questions"/><category term="gateforum"/><category term="high performance computer architecture"/><category term="hydralics"/><category term="ic 74ls283"/><category term="iit madras"/><category term="iitm"/><category term="industrial automation and control"/><category term="industrial instrumentation"/><category term="information theory and coding"/><category term="instrumentation engineering"/><category term="intelligent systems and control"/><category term="international conference"/><category term="introduction to biomedical signal analysis"/><category term="introduction to electrical and electronic circuits"/><category term="introduction to electronic circuits"/><category term="key"/><category term="kinematics of machines"/><category term="lecture 1"/><category term="lecture 2"/><category term="lecture 3"/><category term="lecture 4"/><category term="liang - Hung Lu"/><category term="logisim"/><category term="madeeasy material"/><category term="mech"/><category term="mechanical engineering"/><category term="mechanical measurements"/><category term="mems and microsystems"/><category term="microelectronics"/><category term="mixed signal circuit design"/><category term="mixer"/><category term="modeling and simulation"/><category term="modeling and synthesis"/><category term="multirate and wavelets"/><category term="noise in mixers"/><category term="operating systems"/><category term="operation of tv"/><category term="optoelectronic materials and devices"/><category term="overall picture"/><category term="power electronics"/><category term="power system dynamics"/><category term="power system generation"/><category term="previous GATE Questions"/><category term="principles of vlsi design"/><category term="prof. A.N. Chandorkar"/><category term="prof. C. jacob sir"/><category term="prof. S. sengupta sir"/><category term="prof. s.chakrabarti"/><category term="prof.D.N.Bose"/><category term="prof.r.v.raja kumar"/><category term="rajib mall"/><category term="read online"/><category term="real time DSP"/><category term="receiver architectures"/><category term="regulated cascode current mirror"/><category term="revised"/><category term="rf design tradeoffs"/><category term="rf inductors"/><category term="rf transformers"/><category term="robotics"/><category term="roger t.howe"/><category term="s kal"/><category term="sankaran"/><category term="santiram kal"/><category term="servo training"/><category term="signals and systems"/><category term="simple cmos current mirror"/><category term="simualtion"/><category term="simulation exercises"/><category term="simulink"/><category term="softwares"/><category term="state machine design"/><category term="steel strucutres"/><category term="strenght of materials"/><category term="surveying"/><category term="synthesis"/><category term="system controller"/><category term="system verilog videos"/><category term="testing"/><category term="theory of automata"/><category term="three port mixers"/><category term="time response characteristics"/><category term="topic wise gate solutions"/><category term="transmission"/><category term="transmitter"/><category term="vco design"/><category term="verification"/><category term="video lectures on cmos analog and mixed signal design"/><category term="vlsi broadband communication circuits"/><category term="vlsi data conversion circuits"/><category term="vlsi technology"/><category term="wide swing low voltage current mirror"/><category term="wilson current mirror"/><category term="with FPGAs"/><category term="yearwise"/><title type='text'>SATISH KASHYAP</title><subtitle type='html'>Video lectures by IIT professors in various fields, some may not be available in nptel. Lecture PPTs by professors from prestigious institutes and GATE previous papers and video solutions by satish kashyap in subjects like electronic devices, analog circuits and digital circuits. GATE video lectures by satish kashyap will be added soon.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>302</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-7787567129703695198</id><published>2020-08-27T02:42:00.003+05:30</published><updated>2020-08-27T02:42:20.113+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>DC Motor Control and PWM - Unit 17 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;&amp;nbsp;SECTION 17.1: RELAYS AND OPTOISOLATORS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Give one application where would you use a relay.&lt;/p&gt;&lt;p&gt;2. Why do we place a driver between the microcontroller and the relay?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. What is an NC relay?&lt;/p&gt;&lt;p&gt;4. Why are relays that use coils called electromechanical relays?&lt;/p&gt;&lt;p&gt;5. What is the advantage of a solid-state relay over EMR?&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. What is the advantage of an optoisolator over an EM relay?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. With a relay we can use a 5 V digital system to control 12 V-120 V devices such as horns and appliances.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Since microcontroller I digital outputs lack sufficient current to energize the relay, we need a driver.&lt;/p&gt;&lt;p&gt;3. When the coil is not energized, the contact is closed.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. When current flows through the coil, a magnetic field is created around the coil, which causes the armature to be attracted to the coil.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. It is faster and needs less current to get energized.&lt;/p&gt;&lt;p&gt;6. It is smaller and can be connected to the microcontroller directly without a driver.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 17.2: STEPPER MOTOR INTERFACING&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Give the 4-step sequence of a stepper motor if we start with 0110.&lt;/p&gt;&lt;p&gt;2. A stepper motor with a step angle of 5 degrees has steps per revolution.&lt;/p&gt;&lt;p&gt;3. Why do we put a driver between the microcontroller and the stepper motor?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 0110, 0011, 1001, 1100 for clockwise; and 0110, 1100, 1001, 0011 for counterclockwise&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 72&lt;/p&gt;&lt;p&gt;3. Because the microcontroller pins do not provide sufficient current to drive the stepper motor&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 17.3: DC MOTOR INTERFACING AND PWM&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. The permanent magnet field DC motor has only two leads for +ve and -ve voltages.&lt;/p&gt;&lt;p&gt;2. True or false. Just like a stepper motor, one can control the exact angle of a DC motor&#39;s move.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Why do we put a driver between the microcontroller and the DC motor?&lt;/p&gt;&lt;p&gt;4. How do we change a DC motor&#39;s rotation direction?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. What is stall in a DC motor?&lt;/p&gt;&lt;p&gt;6. True or false. PWM allows the control of a DC motor with the same phase, but different amplitude pulses.&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. The RPM rating given for the DC motor is for __________ (no-load, loaded).&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. False&lt;/p&gt;&lt;p&gt;3. Since microcontroller I digital outputs lack sufficient current to drive the DC motor, we need a driver.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. By reversing the polarity of voltages connected to the leads&lt;/p&gt;&lt;p&gt;5. The DC motor is stalled if the load is beyond what it can handle&lt;/p&gt;&lt;p&gt;6. False&lt;/p&gt;&lt;p&gt;7. No-load&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/7787567129703695198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/dc-motor-control-and-pwm-unit-17-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/7787567129703695198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/7787567129703695198'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/dc-motor-control-and-pwm-unit-17-review.html' title='DC Motor Control and PWM - Unit 17 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-4002911515299879618</id><published>2020-08-27T02:36:00.003+05:30</published><updated>2020-08-27T02:36:19.530+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>DS12887 RTC Interfacing and Programming - Unit 16 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 16.1: DS12887 RTC INTERFACING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. All of the RAM contents of the DS12887 are nonvolatile.&lt;/p&gt;&lt;p&gt;2. How many bytes of RAM in the DS12887 are set aside for the clock and date?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. How many bytes of RAM in the DS12887 are set aside for general-purpose applications?&lt;/p&gt;&lt;p&gt;4. True or false. The NV-RAM contents of the DS12887 can last up to 10 years without an external power source.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Which pin of the DS12887 is the same as the ALE pin in the 8051?&lt;/p&gt;&lt;p&gt;6. True or false. When the DS12887 is shipped, its oscillator is turned on.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 9&lt;/p&gt;&lt;p&gt;3. 114&lt;/p&gt;&lt;p&gt;4. True&lt;/p&gt;&lt;p&gt;5. AS&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. False&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 16.2: DS12887 RTC PROGRAMMING IN C&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. The time and date are not updated during the initialization of RTC.&lt;/p&gt;&lt;p&gt;2. What address range is used for the time and date?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Give the address of the first RAM location belonging to general-purpose applications.&lt;/p&gt;&lt;p&gt;4. Give the C statement to set the month to October.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Give the C statement to set the year to 2009.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 0-9&lt;/p&gt;&lt;p&gt;3. 0EH (14 in decimal)&lt;/p&gt;&lt;p&gt;4. XBYTE[8]=0xOA;&lt;/p&gt;&lt;p&gt;5. XBYTE[09]=0x09; where the 20 part of 2009 is assumed.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 16.3: ALARM, SQW, AND IRQ FEATURES OF THE DS12887 CHIP&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Which bit of register B belongs to the SQW pin?&lt;/p&gt;&lt;p&gt;2. True or false. The IRQ out pin of DS12887 is active low.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Which bit of register B belongs to alarm interrupt?&lt;/p&gt;&lt;p&gt;4. Give the address locations for hh:mm:ss of the alarm.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. If the source of activation for IRQ is alarm, then explain how the IRQ pin is activated.&lt;/p&gt;&lt;p&gt;6. What is the difference between the AF and AIE bits?&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. What is the difference between the PF and PIE bits?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. D3 of D0 - D7&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. D5&lt;/p&gt;&lt;p&gt;4. Byte addresses of 1, 3, 5&lt;/p&gt;&lt;p&gt;5. If the AIE bit of Reg B is set to 1, then the IRQ pin is activated. This happens due to the AF bit in register C going high when the alarm time and real time values match.&lt;/p&gt;&lt;p&gt;6. The AF bit in register C becomes high when the alarm time and real time values match, while the AIE bit of register B simply allows the AF to be directed to the IRQ pin.&lt;/p&gt;&lt;p&gt;7. The PF bit in register C becomes high when the edge is detected for the periodic interrupt, while the PIE bit of reg­ister B simply allows the PF to be directed to the IRQ pin.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/4002911515299879618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/ds12887-rtc-interfacing-and-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4002911515299879618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4002911515299879618'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/ds12887-rtc-interfacing-and-programming.html' title='DS12887 RTC Interfacing and Programming - Unit 16 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-8799851936193594959</id><published>2020-08-27T02:29:00.004+05:30</published><updated>2020-08-27T02:29:22.124+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>Relay, Optoisolator, and Stepper Motor - Unit 15 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;&amp;nbsp;SECTION 15.1: PROGRAMMING THE 8255&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Find the control byte if all ports are inputs.&lt;/p&gt;&lt;p&gt;2. Find the control byte for PC = in, PB = out, and PA = out.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. True or false. To avoid aliases, we must decode addresses A0 - A15.&lt;/p&gt;&lt;p&gt;4. Can 86H be the base address for port A of the 8255?&lt;/p&gt;&lt;p&gt;5. Why do we use the MOVX instruction to access the ports of the 8255?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 9BH&lt;/p&gt;&lt;p&gt;2. 89H&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. True&lt;/p&gt;&lt;p&gt;4. It cannot since we must have Al = 0 and AO = 0 for the base address.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. The MOVX instruction allows access to external memory and 8255 is mapped as memory-mapped I/0.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 15.2: 8255 INTERFACING&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Modify the stepper motor program to turn counterclockwise.&lt;/p&gt;&lt;p&gt;2. True or false. In programming the LCD via an 8255 (without checking the busy flag), port A is always an output port.&lt;/p&gt;&lt;p&gt;3. True or false. In the LCD connection to the 8255, we must have a long delay before issuing the next data if we are not checking the busy flag.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. &quot;RR A&quot; is changed to &quot;RL A&quot;.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. True&lt;/p&gt;&lt;p&gt;3. True&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/8799851936193594959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/relay-optoisolator-and-stepper-motor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8799851936193594959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8799851936193594959'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/relay-optoisolator-and-stepper-motor.html' title='Relay, Optoisolator, and Stepper Motor - Unit 15 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-588835187822729899</id><published>2020-08-27T02:25:00.001+05:30</published><updated>2020-08-27T02:25:06.490+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>8051 Interfacing to External Memory - Unit 14 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 14.1: SEMICONDUCTOR MEMORY&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The speed of semiconductor memory is in the range of&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) microseconds &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) milliseconds&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) nanoseconds &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) picoseconds&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Find the organization and chip capacity for each ROM with the indicated number of address and data pins.&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) 14 address, 8 data &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) 16 address, 8 data &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) 12 address, 8 data&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Find the organization and chip capacity for each RAM with the indicated number of address and data pins.&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) 11 address, 1 data SRAM&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) 13 address, 4 data SRAM&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) 17 address, 8 data SRAM &lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt; &amp;nbsp;&lt;/span&gt;(d) 8 address, 4 data DRAM&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(e) 9 address, 1 data DRAM &lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(f) 9 address, 4 data DRAM&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Find the capacity and number of pins set aside for address and data for memory chips with the following organizations.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) 16Kx4 SRAM &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) 32Kx8 EPROM &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;(c) lMxl DRAM&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) 256Kx4 SRAM &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(e) 64Kx8 EEPROM &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(f) 1Mx4 DRAM&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Which of the following is (are) volatile memory?&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) EEPROM &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) SRAM &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) DRAM &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) NV-RAM&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. c&lt;/p&gt;&lt;p&gt;2. (a) 16Kx8, 128K bits (&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;b) 64Kx8, 512K &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) 4Kx8, 32K&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. (a) 2Kxl, 2K bits &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) 8Kx4, 32K &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) 128Kx8, lM&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) 64Kx4, 256K &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(e) 256Kxl, 256K &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(f) 256Kx4, lM&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. (a) 64K bits, 14 address, and 4 data &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;(b) 256K, 15 address, and 8 data&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) lM, 10 address, and 1 data &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;(d) lM, 18 address, and 4 data&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(e) 512K, 16 address, and 8 data &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(f) 4M, 10 address, and 4 data&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. b, c&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 14.2: MEMORY ADDRESS DECODING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. A given memory block uses addresses 4000H - 7FFFH. How many K bytes is this memory block?&lt;/p&gt;&lt;p&gt;2. The 74138 is a(n) ______ by ______ decoder.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. In the 74138 give the status of G2A and G2B for the chip to be enabled.&lt;/p&gt;&lt;p&gt;4. In the 74138 give the status of Gl for the chip to be enabled.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. In Example 14-6, what is the range of addresses assigned to Y5?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 16K bytes&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 3, 8&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Both must be low.&lt;/p&gt;&lt;p&gt;4. Gl must be high.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. 5000H- 5FFFH&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 14.3: 8031/51 INTERFACING WITH EXTERNAL ROM&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. If EA= GND, indicate from what source the program code is fetched.&lt;/p&gt;&lt;p&gt;2. If EA = Vcc&#39; indicate from what source the program code is fetched.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Which port of the 8051 is used for address/ data multiplexing?&lt;/p&gt;&lt;p&gt;4. Which port of the 8051 provides D0 - D7?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Which port of the 8051 provides A0 - A7?&lt;/p&gt;&lt;p&gt;6. Which port of the 8051 provides A8 - A15?&lt;/p&gt;&lt;p&gt;7. True or false. In accessing externally stored program code, the PSEN signal is always activated.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. From external ROM (that is off-chip)&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. From internal ROM (that is on-chip)&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. P0&lt;/p&gt;&lt;p&gt;4. P0&lt;/p&gt;&lt;p&gt;5. P0&lt;/p&gt;&lt;p&gt;6. P2&lt;/p&gt;&lt;p&gt;7. True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 14.4: 8051 DATA MEMORY SPACE&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The 8051 has a total of _______ bytes of memory space for both program code and data.&lt;/p&gt;&lt;p&gt;2. All the data memory space of the 8051 is ___________ (internal, external).&lt;/p&gt;&lt;p&gt;3. True or false. In the 8051, program code must be read-only memory.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. True or false. In the 8051, data memory can be read or write memory.&lt;/p&gt;&lt;p&gt;5. Explain the role of pins PSEN, RD, and WR in accessing external memory.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. True or false. Every 8051 chip comes with lKB of SRAM.&lt;/p&gt;&lt;p&gt;7. True or false. Upon reset, access to the lKB SRAM of the DS89C4x0 is blocked.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 128K&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. External&lt;/p&gt;&lt;p&gt;3. True&lt;/p&gt;&lt;p&gt;4. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Only PSEN is used to access external ROM containing program code, but when accessing external data memory we must use RD and WR signals. In other words, RD and WR are only for external data memory and are never used for external program ROM.&lt;/p&gt;&lt;p&gt;6. False&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/588835187822729899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-interfacing-to-external-memory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/588835187822729899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/588835187822729899'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-interfacing-to-external-memory.html' title='8051 Interfacing to External Memory - Unit 14 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-6408915335534656727</id><published>2020-08-26T16:41:00.002+05:30</published><updated>2020-08-26T16:41:19.251+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>ADC, DAC, and Sensor Interfacing - Unit 13 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;&amp;nbsp;SECTION 13.1: PARALLEL AND SERIAL ADC&lt;/b&gt;&lt;/p&gt;&lt;div&gt;1. In the ADC0804, the INTR signal is an ______ (input, output).&amp;nbsp;&lt;/div&gt;&lt;p&gt;2. In the ADC0804, to begin conversion, send a(n) pulse to pin_______.&lt;/p&gt;&lt;p&gt;3. Which pin of the ADC0804 indicates end-of-conversion?&lt;/p&gt;&lt;p&gt;4. Both the ADC0804 and ADCOSOS/0809 are ________ -bit converters.&lt;/p&gt;&lt;p&gt;5. Indicate the direction (out, in) for each of the following pins of the ADCOSOS/0809.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) A, B, C &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) SC &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) EOC&lt;/p&gt;&lt;p&gt;6. In the ADC0848, the INTR signal is an _______ (input, output).&lt;/p&gt;&lt;p&gt;7. In the ADC0848, to begin conversion, send a(n) ______ pulse to ________&lt;/p&gt;&lt;p&gt;8. Which pin of the ADC0848 indicates end-of-conversion?&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. The ADC0848 is a(an) _______ -bit converter.&lt;/p&gt;&lt;p&gt;10. True or false. While the ADC0848 has 8 pins for Dout, the MAX1112 has only one Dout pin.&amp;nbsp;&lt;/p&gt;&lt;p&gt;11. Indicate the number of analog input channels for each of the following ADC chips.&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) ADC0804 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) ADC0848 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) MAX1112&amp;nbsp;&lt;/p&gt;&lt;p&gt;12. Explain how to select analog input channel for the MAXl 112.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Output&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. L-to-H, WR&lt;/p&gt;&lt;p&gt;3. INTR&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. 8&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. (a) all in &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) in &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) out&lt;/p&gt;&lt;p&gt;6. Output&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. L-to-H, WR&lt;/p&gt;&lt;p&gt;8. INTR&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. 8&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. True&lt;/p&gt;&lt;p&gt;11. (a) 1 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) 8 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) 8&lt;/p&gt;&lt;p&gt;12. We send the control byte to the DIN pin one bit at a time.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 13.2: DAC INTERFACING&lt;/b&gt;&lt;/p&gt;&lt;div&gt;1. In a DAC, input is ___________ (digital, analog) and output is _______ (digital, analog).&amp;nbsp;&lt;/div&gt;&lt;p&gt;2. In an ADC, input is ___________ (digital, analog) and output is ________ (digital, analog).&lt;/p&gt;&lt;p&gt;3. DAC0808 is a(an) _______ -bit D-to-A converter.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. (a) The output of DAC0808 is in ___________ (current, voltage).&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) True or false. The output of DAC0808 is ideal to drive a motor.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Digital, analog.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. In ADC the input is analog, the output is digital.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. 8&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. (a) current (b) true&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 13.3: SENSOR INTERFACING AND SIGNAL CONDITIONING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. The transducer must be connected to signal conditioning circuitry before it is sent to the ADC.&lt;/p&gt;&lt;p&gt;2. The LM35 provides m V for each degree of (Fahrenheit, Celsius) temperature.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. The LM34 provides m V for each degree of (Fahrenheit, Celsius) temperature.&lt;/p&gt;&lt;p&gt;4. Why do we set the&amp;nbsp;&lt;/p&gt;&lt;p&gt;V,ef of ADC0848 to 2.56 V if the analog input is connected to the LM35?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. In Question 4, what is the temperature if the ADC output is 0011 1001?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 10, Celsius.&lt;/p&gt;&lt;p&gt;3. 10, Fahrenheit.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Since ADC0848 is an 8-bit ADC, it gives us 256 steps, and 2.56 V /256 = 10 mV. LM35 produces 10 m V for each degree of temperature which matches the ADC&#39;s step size.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. 00111001 = 57, which indicates it is 57 degrees.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/6408915335534656727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/adc-dac-and-sensor-interfacing-unit-13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6408915335534656727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6408915335534656727'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/adc-dac-and-sensor-interfacing-unit-13.html' title='ADC, DAC, and Sensor Interfacing - Unit 13 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-1731625999884378495</id><published>2020-08-26T16:27:00.002+05:30</published><updated>2020-08-26T16:27:41.600+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>LCD and Keyboard Interfacing in 8051 - Unit 12 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 12.1: LCD INTERFACING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The RS pin is an __________ (input, output) pin for the LCD.&lt;/p&gt;&lt;p&gt;2. The E pin is an ____________ (input, output) pin for the LCD.&lt;/p&gt;&lt;p&gt;3. The E pin requires an _____________ (H-to-L, L-to-H) pulse to latch in information at the data pins of the LCD.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. For the LCD to recognize information at the data pins as data, RS must be set to ____________ (high, low).&lt;/p&gt;&lt;p&gt;5. Give the command codes for line 1, first character, and line 2, first character.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Input&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Input&lt;/p&gt;&lt;p&gt;3. H-to-L&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. High&lt;/p&gt;&lt;p&gt;5. 80H and C0H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 12.2: KEYBOARD INTERFACING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. To see if any key is pressed, all rows are grounded.&lt;/p&gt;&lt;p&gt;2. If D3 - DO= 0111 is the data read from the columns, which column does the pressed key belong to?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. True or false. Key press detection and key identification require two different processes.&lt;/p&gt;&lt;p&gt;4. In Figure 12-6, if the rows are D3 - DO= 1110 and the columns are D3 - DO= 1110, which key is pressed?&lt;/p&gt;&lt;p&gt;5. True or false. To identify the pressed key, one row at a time is grounded.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Column3&lt;/p&gt;&lt;p&gt;3. True&lt;/p&gt;&lt;p&gt;4. 0&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/1731625999884378495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/lcd-and-keyboard-interfacing-in-8051.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1731625999884378495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1731625999884378495'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/lcd-and-keyboard-interfacing-in-8051.html' title='LCD and Keyboard Interfacing in 8051 - Unit 12 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-4576195276503523996</id><published>2020-08-26T15:45:00.001+05:30</published><updated>2020-08-26T15:48:01.275+05:30</updated><title type='text'>8051 Interrupts Programming in Assembly and C - Unit 11 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 11. l: 8051 INTERRUPTS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Of the interrupt and polling methods, which one avoids tying down the microcontroller?&lt;/p&gt;&lt;p&gt;2. Besides reset, how many interrupts do we have in the 8051?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. In the 8051, what memory area is assigned to the interrupt vector table? Can the programmer change the memory space assigned to the table?&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. What are the contents of register IE upon reset, and what do these contents mean?&lt;/p&gt;&lt;p&gt;5. Show the instruction to enable the EX0 and Timer 0 interrupts.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. Which pin of the 8051 is assigned to the external hardware interrupt INTl?&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. What address in the interrupt vector table is assigned to the INTl and Timer 1 interrupts?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Interrupts&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 5&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Address locations 0000 to 25H. No. They are set when the processor is designed.&lt;/p&gt;&lt;p&gt;4. All Os means that all interrupts are masked, and as a result no interrupts will be responded to by the 8051.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. MOV IE, #10000011B&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. P3.3, which is pin 13 on the 40-pin DIP package&lt;/p&gt;&lt;p&gt;7. 0013H for INTl and OOlBH for Timer 1&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 11.2: PROGRAMMING TIMER INTERRUPTS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. There is only a single interrupt in the interrupt vector table assigned to both Timer 0 and Timer 1.&lt;/p&gt;&lt;p&gt;2. What address in the interrupt vector table is assigned to Timer 0?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Which bit of IE belongs to the timer interrupt? Show how both are enabled.&lt;/p&gt;&lt;p&gt;4. Assume that Timer 1 is programmed in mode 2, THl = F5H, and the IE bit for Timer 1 is enabled. Explain how the interrupt for the timer works.&lt;/p&gt;&lt;p&gt;5. True or false. The last two instructions of the ISR for Timer 0 are:&amp;nbsp;&lt;/p&gt;&lt;p&gt;CLR TF0&amp;nbsp;&lt;/p&gt;&lt;p&gt;RETI&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. False. There is an interrupt for each of the timers, Timer O and Timer 1.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. OOOBH&lt;/p&gt;&lt;p&gt;3. Bits Dl and 03 and &quot;MOV IE, # 1 o o o 1 o 1 o B&quot; will enable both of the timer interrupts.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. After Timer 1 is started with instruction &quot;SETB TRl&quot;, the timer will count up from F5H to FFH on its own while the 8051 is executing other tasks. Upon rolling over from FFH to 00, the TFl flag is raised, which will interrupt the8051 in whatever it is doing and force it to jump to memory location 00lBH to execute the ISR belonging to this interrupt.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. False. There is no need for &quot;CLR TF0&quot; since the RETI instruction does that for us.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 11.3: PROGRAMMING EXTERNAL HARDWARE INTERRUPTS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. There is a single interrupt in the interrupt vector table assigned to both external hardware interrupts&lt;/p&gt;&lt;p&gt;IT0 and ITl.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. What address in the interrupt vector table is assigned to INT0 and INTl? How about the pin numbers on port 3?&lt;/p&gt;&lt;p&gt;3. Which bit of IE belongs to the external hardware interrupts? Show how both are enabled.&lt;/p&gt;&lt;p&gt;4. Assume that the IE bit for the external hardware interrupt EXl is enabled and is active low. Explain how this interrupt works when it is activated.&lt;/p&gt;&lt;p&gt;5. True or false. Upon reset, the external hardware interrupt is low-level triggered.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. In Question 5, how do we make sure that a single interrupt is not recognized as multiple interrupts?&lt;/p&gt;&lt;p&gt;7. True or false. The last two instructions of the ISR for INT0 are:&amp;nbsp;&lt;/p&gt;&lt;p&gt;CLR TCON.1&lt;/p&gt;&lt;p&gt;RETI&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. Explain the role that each of the two bits TCON.0 and TCON.2 play in the execution of external interrupt 0.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. False. There is an interrupt for each of the external hardware interrupts of INT0 and INTl.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 0003H and 0013H. The pins numbered 12 (P3.2) and 13 (P3.3) on the DIP package.&lt;/p&gt;&lt;p&gt;3. Bits D0 and D2 and &quot;MOV IE, #10000101B&quot; will enable both of the external hardware interrupts.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Upon application of a low pulse (4 machine cycles wide) to pin P3.3, the 8051 is interrupted in whatever it is doing and jumps to ROM location 0013H to execute the ISR.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. True&lt;/p&gt;&lt;p&gt;6. Make sure that the low pulse applied to pin INTl is no wider than 4 machine cycles. Or, make sure that the INTl pin is brought back to high by the time the 8051 executes the RETI instruction in the ISR.&lt;/p&gt;&lt;p&gt;7. False. There is no need for the &quot;CLR TCON. 0&quot; since the RETI instruction does that for us.&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. TCON.0 is set to high to make INTO an edge-triggered interrupt. If INT0 is edge-triggered (that is, TCON.0 is set), whenever a high-to-low pulse is applied to the INTO pin it is captured (latched) and kept by the TCON.2 bit by making TCON.2 high. While the ISR for INT0 is being serviced, TCON.2 stays high no matter how many times an H-to-L pulse is applied to pin INT0. Upon the execution of the last instruction of the ISR, which is RETI, the TCON.2 bit is cleared, indicating that the INTO pin can respond to another interrupt.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 11.4: PROGRAMMING THE SERIAL COMMUNICATION INTERRUPT&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. There is a single interrupt in the interrupt vector table assigned to both the TI and RI interrupts.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. What address in the interrupt vector table is assigned to the serial interrupt?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Which bit of the IE register belongs to the serial interrupt? Show how it is enabled.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Assume that the IE bit for the serial interrupt is enabled. Explain how this interrupt gets activated and also explain its actions upon activation.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. True or false. Upon reset, the serial interrupt is active and ready to go.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. True or false. The last two instructions of the ISR for the receive interrupt are:&amp;nbsp;&lt;/p&gt;&lt;p&gt;CLR RI&lt;/p&gt;&lt;p&gt;RETI&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. Answer Question 6 for the send interrupt.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True. There is only one interrupt for both the transfer and receive.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 23H&lt;/p&gt;&lt;p&gt;3. Bit D4 (IE.4) and &quot;MOV IE, # 10010000B&quot; will enable the serial interrupt.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. The RI (received interrupt) flag is raised when the entire frame of data, including the stop bit, is received. As a result the received byte is delivered to the SBUF register and the 8051 jumps to memory location 0023H to execute the ISR belonging to this interrupt. In the serial COM interrupt service routine, we must save the SBUF contents before it is lost by the incoming data.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. False&lt;/p&gt;&lt;p&gt;6. True. We must do it since the RETI instruction will not do it for the serial interrupt.&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. CLR TI&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;RETI&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 11.5: INTERRUPT PRIORITY IN THE 8051/52&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. Upon reset, all interrupts have the same priority.&lt;/p&gt;&lt;p&gt;2. What register keeps track of interrupt priority in the 8051? Is it a bit-addressable register?&lt;/p&gt;&lt;p&gt;3. Which bit of IP belongs to the serial interrupt priority? Show how to assign it the highest priority.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Assume that the IP register contains all Os. Explain what happens if both INT0 and INTl are activated at the same time.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Explain what happens if a higher-priority interrupt is activated while the 8051 is serving a lower-priority interrupt (that is, executing a lower-priority ISR).&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. False. They are assigned priority according to Table 11-3.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. IP (interrupt priority) register. Yes, it is bit-addressable.&lt;/p&gt;&lt;p&gt;3. Bit D4 (IP.4) and the instruction &quot;MOV IP, #000l0000B&quot; will do it.&lt;/p&gt;&lt;p&gt;4. If both are activated at the same time, INT0 is serviced first since it has a higher priority. After INT0 is serviced, INTl is serviced, assuming that the external interrupts are edge-triggered and H-to-L transitions are latched. In the case of low-level triggered interrupts, if both are activated at the same time, the INTO is serviced first; then after the 8051 has finished servicing the INT0, it scans the INT0 and INTl pins again, and if the INTl pin is still high, it will be serviced.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. We have an interrupt inside an interrupt, meaning that the lower-priority interrupt is put on hold and the higher one is serviced. After servicing this higher-priority interrupt, the 8051 resumes servicing the lower-priority ISR.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/4576195276503523996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/interrupts-programming-in-assembly-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4576195276503523996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4576195276503523996'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/interrupts-programming-in-assembly-and.html' title='8051 Interrupts Programming in Assembly and C - Unit 11 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-7077230313997317512</id><published>2020-08-26T08:14:00.004+05:30</published><updated>2020-08-26T08:14:29.073+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>8051 Serial Port Programming in Assembly and C - Unit 10 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 10.1: BASICS OF SERIAL COMMUNICATION&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The transfer of data using parallel lines is ________ (faster, slower) but ______(more expensive,less expensive).&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. True or false. Sending data to a printer is duplex.&lt;/p&gt;&lt;p&gt;3. True or false. In full duplex we must have two data lines, one for transfer and one for receive.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. The start and stop bits are used in the __________(synchronous, asynchronous) method.&lt;/p&gt;&lt;p&gt;5. Assuming that we are transmitting the ASCII letter &quot;E&quot; (0100 0101 in binary) with no parity bit and one stop bit, show the sequence of bits transferred serially.&lt;/p&gt;&lt;p&gt;6. In Question 5, find the overhead due to framing.&lt;/p&gt;&lt;p&gt;7. Calculate the time it takes to transfer 10,000 characters as in Question 5 if we use 9600 bps. What percentage of time is wasted due to overhead?&lt;/p&gt;&lt;p&gt;8. True or false. RS232 is not TTL-compatible.&lt;/p&gt;&lt;p&gt;9. What voltage levels are used for binary O in RS232?&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. True or false. The 8051 has a built-in UART.&lt;/p&gt;&lt;p&gt;11. On the back of x86 PCs, we normally have COM port connectors.&lt;/p&gt;&lt;p&gt;12. The PC COM ports are designated by DOS and Windows as _______ and ____________&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Faster, more expensive&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. False; it is simplex.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Asynchronous&lt;/p&gt;&lt;p&gt;5. With 0100 0101 binary the bits are transmitted in the sequence:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) 0 (start bit) (b) 1 (c) 0 (d) 1 (e) 0 (f) 0 (g) 0 (h) 1 (i) 0 (j) 1 (stop bit)&lt;/p&gt;&lt;p&gt;6. 2 bits (one for the start bit and one for the stop bit). Therefore, for each 8-bit character, a total of 10 bits is transferred.&lt;/p&gt;&lt;p&gt;7. 10000 x 10 = 100000 bits total bits transmitted. 100000/9600 = 10.4 seconds; 2/10 = 20°/o.&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. True&lt;/p&gt;&lt;p&gt;9. +3 to +25 V&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. True&lt;/p&gt;&lt;p&gt;11. 2&lt;/p&gt;&lt;p&gt;12. COM 1 and COM 2&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 10.2: 8051 CONNECTION TO RS232&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or False: The PC COM port connector is the RS232 type.&lt;/p&gt;&lt;p&gt;2. Which pins of the 8051 are set aside for serial communication, and what are their functions?&lt;/p&gt;&lt;p&gt;3. What are line drivers such as MAX232 used for?&lt;/p&gt;&lt;p&gt;4. MAX232 can support _______ lines for TxD and ______ for RxD.&lt;/p&gt;&lt;p&gt;5. What is the advantage of the MAX233 over the MAX232 chip?&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Pins 10 and 11. Pin 10 is for TxD and pin 11 for RxD.&lt;/p&gt;&lt;p&gt;3. They are used for converting from RS232 voltage levels to TTL voltage levels and vice versa.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. 2, 2&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. It does not need the four capacitors that MAX232 must have.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 10.3: 8051 SERIAL PORT PROGRAMMING IN ASSEMBLY&lt;/b&gt;&lt;/p&gt;&lt;div&gt;1. Which timer of the 8051 is used to set the baud rate?&lt;/div&gt;&lt;p&gt;2. If XTAL = 11.0592 MHz, what frequency is used by the timer to set the baud rate?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Which mode of the timer is used to set the baud rate?&lt;/p&gt;&lt;p&gt;4. With XTAL = 11.0592 MHz, what value should be loaded into THl to have a 9600 baud rate? Give the answer in&amp;nbsp;&lt;/p&gt;&lt;p&gt;both decimal and hex.&lt;/p&gt;&lt;p&gt;5. To transfer a byte of data serially, it must be placed in register __&lt;/p&gt;&lt;p&gt;6. SCON stands for and it is a(n) -bit register.&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. Which register is used to set the data size and other framing information such as the stop bit?&lt;/p&gt;&lt;p&gt;8. True or false. SCON is a bit-addressable register.&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. When is TI raised?&lt;/p&gt;&lt;p&gt;10 Which register has the SMOD bit, and what is its status when the 8051 is powered up?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Timer 1&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 28,800 Hz&lt;/p&gt;&lt;p&gt;3. Mode2&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. -3 or FDH since 28,800 / 3 = 9,600&lt;/p&gt;&lt;p&gt;5. SBUF&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. Serial control, 8&lt;/p&gt;&lt;p&gt;7. SCON&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. False&lt;/p&gt;&lt;p&gt;9. During transfer of stop bit&lt;/p&gt;&lt;p&gt;10. PCON; it is low upon RESET.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 10.4: PROGRAMMING THE SECOND SERIAL PORT&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;(All questions refer to the DS89C4x0 chip)&lt;/p&gt;&lt;p&gt;1. Upon reset, which timer is used to set the baud rate for Serial #0 and Serial #1?&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Which pins are used for the second serial ports?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. With XTAL = 11.0592 MHz, what value should be loaded into THl to have a 28,800 baud rate? Give the answer in&lt;/p&gt;&lt;p&gt;both decimal and hex.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. To transfer a byte of data via the second serial port, it must be placed in register _______&lt;/p&gt;&lt;p&gt;5. SCONl refers to _____________and it is a(n) _______ -bit register.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. Which register is used to set the data size and other framing information such as the stop bit for the second serial port?&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Timer 1&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Pins Pl.2 and Pl.3&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. -1 of FFH&lt;/p&gt;&lt;p&gt;4. SBUFl&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Serial Control 1, 8&lt;/p&gt;&lt;p&gt;6. SCONl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 10.5: SERIAL PORT PROGRAMMING IN C&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. How are the SFR registers accessed in C?&lt;/p&gt;&lt;p&gt;2. True or false. C compilers support the second serial port of the DS89C420 chip.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Registers SBUF and SCON are declared in C using the keyword.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. By using the reg51.h file&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. False&lt;/p&gt;&lt;p&gt;3. SFR&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/7077230313997317512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-serial-port-programming-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/7077230313997317512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/7077230313997317512'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-serial-port-programming-in.html' title='8051 Serial Port Programming in Assembly and C - Unit 10 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-1021262734447448774</id><published>2020-08-26T06:56:00.000+05:30</published><updated>2020-08-26T06:56:06.987+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>8051 Timer Programming in Assembly and C - Unit 9 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 9.1: PROGRAMMING 8051 TIMERS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. How many timers do we have in the 8051?&lt;/p&gt;&lt;p&gt;2. Each timer has _______ registers that are ______ bits wide.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. TMOD register is a(n) ______ bit register.&lt;/p&gt;&lt;p&gt;4. True or false. The TMOD register is a bit-addressable register.&lt;/p&gt;&lt;p&gt;5. Indicate the selection made in the instruction &quot;MOV TMOD, #20H&quot;.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. In mode 1, the counter rolls over when it goes from ______ to ______&lt;/p&gt;&lt;p&gt;7. In mode 2, the counter rolls over when it goes from _______ to ________&lt;/p&gt;&lt;p&gt;8. In the instruction &quot;MOV THl, #-200&quot;, find the hex value for the TH register.&lt;/p&gt;&lt;p&gt;9. To get a 2-ms delay, what number should be loaded into TH, TL using mode 1? Assume that XTAL = 11.0592 MHz.&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. To get a 100-µs delay, what number should be loaded into the TH register using mode 2? Assume XTAL = 11.0592 MHz.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Two&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 2, 8&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. 8&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. False&lt;/p&gt;&lt;p&gt;5. 0010 0000 indicates Timer 1, mode 2, software start and stop, and using XTAL for frequency.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. FFFFH to 0000&lt;/p&gt;&lt;p&gt;7. FFH to 00&lt;/p&gt;&lt;p&gt;8. -200 is 38H; therefore, THl = 38H&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. 2 ms/1.085 ms= 1843 = 0733H where TH= 07H and TL= 33H&lt;/p&gt;&lt;p&gt;10. 100 ms/1.085 ms= 92 or 5CH; therefore, TH= 5CH&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 9.2: COUNTER PROGRAMMING&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. Who provides the clock pulses to 8051 timers if C/T = 0?&lt;/p&gt;&lt;p&gt;2. Who provides the clock pulses to 8051 timers if C/T = 1?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Does the discussion in Section 9.1 apply to timers if C/T= 1?&lt;/p&gt;&lt;p&gt;4. What must be done to allow P3.4 to be used as an input for Tl, and why?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. What is the equivalent of the following instruction? &quot;SETB TCON. 6&quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The crystal attached to the 8051&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. The clock source for the timers comes from pins TO and Tl.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Yes&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. We must use the instruction &quot;SETB P3. 4&quot; to configure the Tl pin as input, which allows the clocks to come from an external source. This is because all ports are configured as output upon reset.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. SETB TRl&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 9.3: PROGRAMMING TIMERS 0 AND 1 IN 8051 C&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Who provides the clock pulses to 8051 timers if C/T = O?&lt;/p&gt;&lt;p&gt;2. Indicate the selection made in the statement &quot;TMOD = Ox20&quot;.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. In mode 1, the counter rolls over when it goes from _____ to ___________&lt;/p&gt;&lt;p&gt;4. In mode 2, the counter rolls over when it goes from ______ to ________&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. In the statement &quot;THl = -200&quot;, find the hex value for the TH register.&lt;/p&gt;&lt;p&gt;6. TFO and TFl are part of register ____________&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. In Question 6, is the register bit-addressable?&lt;/p&gt;&lt;p&gt;8. Show how to monitor the TFl flag for high in 8051 C.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The crystal attached to the 8051&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Timer 2, mode 2, 8-bit auto reload&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. FFFFH to O&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. FFH to O&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. 38H&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. TMOD&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. Yes&lt;/p&gt;&lt;p&gt;8. while (TF1==0);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/1021262734447448774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-timer-programming-in-assembly-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1021262734447448774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1021262734447448774'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-timer-programming-in-assembly-and.html' title='8051 Timer Programming in Assembly and C - Unit 9 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-788439854861619113</id><published>2020-08-26T06:37:00.006+05:30</published><updated>2020-08-26T06:37:52.273+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>8051 Hardware Connection and Intel Hex File  - Unit 8 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 8.1: PIN DESCRIPTION OF THE 8051&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. A given AT89C51 chip has a speed of 16 MHz. What is the range of frequency that can be applied to the XTALl and XTAL2 pins?&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Which pin is used to inform the 8051 that the on-chip ROM contains the program?&lt;/p&gt;&lt;p&gt;3. Upon power-up, the program counter (PC) has a value of ________&lt;/p&gt;&lt;p&gt;4. Upon power-up, the 8051 fetches the first opcode from ROM address location _______&lt;/p&gt;&lt;p&gt;5. Which 8051 port needs pull-up resistors to function as an I/0 port?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. From Oto 16 MHz, but no more than 16 MHz&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. EA bar&lt;/p&gt;&lt;p&gt;3. PC= 0000&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. 0000&lt;/p&gt;&lt;p&gt;5. Port O&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 8.2: DESIGN AND TEST OF DS89C4x0 TRAINER&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. The DS89C4x0 is an 8052 chip.&lt;/p&gt;&lt;p&gt;2. Which pin is used for reset?&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. What is the status of the reset pin when it is not activated?&lt;/p&gt;&lt;p&gt;4. What kind of ROM is used in the DS89C4x0 chip?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. The loader for the DS89C4x0 works with the __________ (serial, parallel) port.&lt;/p&gt;&lt;p&gt;6. Give two reasons that the DS89C4x0 is preferable over 89C51 chips.&lt;/p&gt;&lt;p&gt;7. In the DS89C4x0 Trainer, what is the role of the Prog/Run switch?&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. What is the highest frequency that we can connect to the DS89C420/30?&lt;/p&gt;&lt;p&gt;9. True or false. The DS89C4x0 can download the file into its ROM only if it is in Intel hex file format.&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. Which command is used to erase the contents of ROM in the DS89C4x0 chip?&lt;/p&gt;&lt;p&gt;11. Which command is used to load the ROM in the DS89C4x0 chip?&lt;/p&gt;&lt;p&gt;12. Which command is used to dump the contents of ROM in the DS89C4x0 chip?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Pin 9&lt;/p&gt;&lt;p&gt;3. Low&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Flash&lt;/p&gt;&lt;p&gt;5. Serial&amp;nbsp;&lt;/p&gt;&lt;p&gt;6.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) It comes with a loader inside the chip&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) it has two serial ports&lt;/p&gt;&lt;p&gt;7. The SW allows to load the program or to run it.&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. 33MHz&lt;/p&gt;&lt;p&gt;9. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. &amp;gt;K&amp;nbsp;&lt;/p&gt;&lt;p&gt;11. &amp;gt;L&lt;/p&gt;&lt;p&gt;12. &amp;gt;D&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 8.3: EXPLAINING THE INTEL HEX FILE&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. The Intel hex file uses the checksum byte method to ensure data integrity.&lt;/p&gt;&lt;p&gt;2. The first byte of a line in the Intel hex file represents _________&lt;/p&gt;&lt;p&gt;3. The last byte of a line in the Intel hex file represents __________&lt;/p&gt;&lt;p&gt;4. In the TT field of the Intel hex file, we have 00. What does it indicate?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Find the checksum byte for the following values: 22H, 76H, SFH, 8CH, 99H.&lt;/p&gt;&lt;p&gt;6. In Question 5, add all the values and the checksum byte. What do you get?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. The number of bytes of data in the line&lt;/p&gt;&lt;p&gt;3. Checksum byte&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. 00 means this is not the last line and there are more lines of data to be followed.&lt;/p&gt;&lt;p&gt;5. 22H + 76H + 5FH +SCH+ 99H = 21CH.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Dropping the carries we have lCH and its 2&#39;s complement is E4H.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. 22H + 76H + 5FH + SCH + 99H + E4 = 300H.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Dropping the carries we have 00, which means data is not corrupted&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/788439854861619113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-hardware-connection-and-intel-hex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/788439854861619113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/788439854861619113'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/8051-hardware-connection-and-intel-hex.html' title='8051 Hardware Connection and Intel Hex File  - Unit 8 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-8436016696656122651</id><published>2020-08-24T18:34:00.006+05:30</published><updated>2020-08-26T06:42:31.027+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>8051 Programming in C  - Unit 7 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 7.1: DATA TYPES AND TIME DELAY IN 8051 C&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Give the magnitude of the unsigned char and signed char data types.&lt;/p&gt;&lt;p&gt;2. Give the magnitude of the unsigned int and signed int data types.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. If we are declaring a variable for a person&#39;s age, we should use the________ data type.&lt;/p&gt;&lt;p&gt;4. True or false. Using a for loop to create a time delay is not recommended if you want your code be &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;portable to other 8051 versions.&lt;/p&gt;&lt;p&gt;5. Give three factors that can affect the delay size.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 0 to 255 for unsigned char and-128 to +127 for signed char&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 0 to 65,535 for unsigned int and -32,768 to +32,767 for signed int&lt;/p&gt;&lt;p&gt;3. Unsigned char&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. True&lt;/p&gt;&lt;p&gt;5. (a) Crystal frequency of 8051 system, (b) 8051 machine cycle timing, and (c) compiler use for 8051 C&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 7.2: I/0 PROGRAMMING IN 8051 C&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The address of Pl is ____________&lt;/p&gt;&lt;p&gt;2. Write a short program that toggles all bits of P2.&lt;/p&gt;&lt;p&gt;3. Write a short program that toggles only bit Pl.0&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. True or false. The sbit data type is used for both SFR and RAM single-bit addressable locations.&lt;/p&gt;&lt;p&gt;5. True or false. The bit data type is used only for RAM single-bit addressable locations.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 90H&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. #include &amp;lt;reg51.h&amp;gt;&lt;/p&gt;&lt;p&gt;void main()&amp;nbsp;&lt;/p&gt;&lt;p&gt;{&amp;nbsp;&lt;/p&gt;&lt;p&gt;}&amp;nbsp;&lt;/p&gt;&lt;p&gt;P2 = Ox55;&lt;/p&gt;&lt;p&gt;P2 = OxAA&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. #include &amp;lt;reg51.h&amp;gt;&lt;/p&gt;&lt;p&gt;shit Pl Obit = Pl &quot;0;&amp;nbsp;&lt;/p&gt;&lt;p&gt;void main()&amp;nbsp;&lt;/p&gt;&lt;p&gt;{&amp;nbsp;&lt;/p&gt;&lt;p&gt;}&amp;nbsp;&lt;/p&gt;&lt;p&gt;PlObit = O;&lt;/p&gt;&lt;p&gt;PlObit = 1;&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. False, only to SFR bit&lt;/p&gt;&lt;p&gt;5. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 7.3: LOGIC OPERATIONS IN 8051 C&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Find the content of Pl after the following C code in each case.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) Pl=Ox37&amp;amp;0xCA; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) Pl=Ox37 ! OxCA;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) Pl=Ox37 ^ 0xCA;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. To mask certain bits we must AND them with _____________&lt;/p&gt;&lt;p&gt;3. To set high certain bits we must OR them with ____________&lt;/p&gt;&lt;p&gt;4. Ex-ORing a value with itself results in __________&lt;/p&gt;&lt;p&gt;5. Find the contents of P2 after execution of the following code.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;P2=0;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;P2=P2 ! 0x99;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;P2= ~P2;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. (a) 02 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) FFH &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) FDH&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Zeros&lt;/p&gt;&lt;p&gt;3. One&lt;/p&gt;&lt;p&gt;4. All zeros&lt;/p&gt;&lt;p&gt;5. 66H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 7.4: DATA CONVERSION PROGRAMS IN 8051 C&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. For the following decimal numbers, give the packed BCD and unpacked BCD representations.&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a)15 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b)99&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Show the binary and hex formats for &quot;76&quot; and its BCD version.&lt;/p&gt;&lt;p&gt;3. 67H in BCD when converted to ASCII is _______H and _______H.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Does the following convert unpacked BCD in register A to ASCII?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;mydata = 0x09 + 0x30;&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Why is the use of packed BCD preferable to ASCII?&lt;/p&gt;&lt;p&gt;6. Which one takes more memory space: packed BCD or ASCII?&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. In Question 6, which is more universal?&lt;/p&gt;&lt;p&gt;8. Find the checksum byte for the following values; 22H, 76H, 5FH, 8CH, 99H.&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. To test data integrity, we add them together, including the checksum byte. Then drop the carries. The result must be equal to _______ if the data is not corrupted.&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. An ADC provides an input of 0010 0110. What happens if we output that to the screen?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. (a) 15H = 0001 0101 packed BCD, 0000 0001,0000 0101 unpacked BCD&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) 99H = 1001 1001 packed BCD, 0000 1001,0000 1001 unpacked BCD&lt;/p&gt;&lt;p&gt;2. 3736H = 00110111 00110110B and in BCD we have 76H = 0111 OllOB&lt;/p&gt;&lt;p&gt;3. 36H,37H&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Yes, since A = 39H&lt;/p&gt;&lt;p&gt;5. Space savings&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. ASCII&lt;/p&gt;&lt;p&gt;7. ASCII&lt;/p&gt;&lt;p&gt;8. 21CH&lt;/p&gt;&lt;p&gt;9. 00&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. First convert from binary to decimal, then to ASCII, then send to screen.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 7.5: ACCESSING CODE ROM SPACE IN 8051 C&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The 8051 has _____ bytes of data RAM, while the 8052 has ________ bytes.&lt;/p&gt;&lt;p&gt;2. The 8051 has _______K bytes of code space and _______K bytes of external data space.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. True or false. The code space can be used for data but the external data space cannot be used for code.&lt;/p&gt;&lt;p&gt;4. Which space would you use to declare the following values for 8051 C?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) the number of days in the week&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) the number of months in a year&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) a counter for a delay&lt;/p&gt;&lt;p&gt;5. In 8051 C, we should not use more than 100 bytes of the RAM data space for variables. Why?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 128, 256&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 64K, 64K&lt;/p&gt;&lt;p&gt;3. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. (a) data space, (b) data space, (c) RAM space&lt;/p&gt;&lt;p&gt;5. The compiler starts storing variables in code space.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/8436016696656122651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-1-8051-programming-in-c-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8436016696656122651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8436016696656122651'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-1-8051-programming-in-c-review.html' title='8051 Programming in C  - Unit 7 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-6773422375293311256</id><published>2020-08-24T15:19:00.007+05:30</published><updated>2020-08-27T02:43:23.871+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>Arithmetic, Logic Instructions, and Programs  - Unit 6 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 6.1: ARITHMETIC INSTRUCTIONS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. In multiplication of two bytes in the 8051, we must place one byte in register and the other in register&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. In unsigned byte-by-byte multiplication, the product will be placed in register(s) ____________&lt;/p&gt;&lt;p&gt;3. Is this a valid 8051 instruction? &quot;MUL A, Rl&quot;. Explain your answer.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. In byte/byte division, the numerator must be placed in _____ register and the denominator in ___ register&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. In unsigned byte/byte division, the quotient will be placed in ____ register and the remainder in _____ register&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. Is this a valid 8051 instruction? &quot;DIV A, Rl&quot;. Explain your answer.&lt;/p&gt;&lt;p&gt;7. The instruction &quot;ADD A, source&quot; places the sum in ____________&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. Why is the following ADD instruction illegal?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&quot;ADD Rl, R2&quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. Rewrite the instruction above in correct form.&lt;/p&gt;&lt;p&gt;10. The instruction &quot;ADDC A, source&quot; places the sum in ________&lt;/p&gt;&lt;p&gt;11. Find the value of the A and CY flags in each of the following.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) MOV A, #4FH &lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;ADD A,#OBlH&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) MOV A, #9CH&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp;ADD A,#63H&amp;nbsp;&lt;/p&gt;&lt;p&gt;12. Show how the CPU would subtract 05H from 43H.&lt;/p&gt;&lt;p&gt;13. If CY= 1, A= 95H, and B = 4FH prior to the execution of &quot;SUBB A, B&quot;, what will be the contents of A after the subtraction?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. A, B&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. A, B&lt;/p&gt;&lt;p&gt;3. No. We must use registers A and B for this operation.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. A, B&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. A, B&lt;/p&gt;&lt;p&gt;6. No. We must use registers A and B for this operation.&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. A, the accumulator&lt;/p&gt;&lt;p&gt;8. No. We must use registers A and B for this operation.&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. MOV A, Rl&amp;nbsp;&lt;/p&gt;&lt;p&gt;ADD A,R2&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. A, the accumulator&lt;/p&gt;&lt;p&gt;11. (a) A= 00 and CY= 1 (b) A= FF and CY= 0&amp;nbsp;&lt;/p&gt;&lt;p&gt;12. 43H = 0100 0011 and -O5H (in 2&#39;s complement ) 0100 0011 if both added then&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;the result is 3EH = 0011 1110&amp;nbsp;&lt;/p&gt;&lt;p&gt;13. A = 95H - 4FH - 1 = 45H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 6.2: SIGNED NUMBER CONCEPTS AND ARITHMETIC OPERATIONS&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. In an 8-bit operand, bit ___ is used for the sign bit.&lt;/p&gt;&lt;p&gt;2. Convert -16H to its 2&#39;s complement representation.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. The range of byte-sized signed operands is -_____to + ______&lt;/p&gt;&lt;p&gt;4. Show +9 and -9 in binary.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Explain the difference between a carry and an overflow.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. D7&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 16H is 00010110 in binary and its 2&#39;s complement is 1110 1010 or -16H = EA in hex.&lt;/p&gt;&lt;p&gt;3. -128 to +127&lt;/p&gt;&lt;p&gt;4. +9 = 00001001 and -9 = 11110111 or F7 in hex.&lt;/p&gt;&lt;p&gt;5. An overflow is a carry into the sign bit (D7), but the carry is a carry out of register (D7).&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 6.3: LOGIC AND COMPARE INSTRUCTIONS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Find the content of register A after the following code in each case.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) MOV A, #37H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;ANL A,#OCAH&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) MOV A, #37H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;ORL A,#OCAH&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) MOV A, #37H&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;XRL A,#OCAH&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. To mask certain bits of the accumulator we must ANL it with ______&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. To set certain bits of the accumulator to 1 we must ORL it with _______&lt;/p&gt;&lt;p&gt;4. XRing an operand with itself results in __________&lt;/p&gt;&lt;p&gt;5. True or false. The CJNE instruction alters the contents of its operands.&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. What value must R4 have in order for the following instruction not to jump?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;CJNE R4,#53,0VER&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. Find the contents of register A after execution of the following code.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;CLR A&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;ORL A,#99H&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;CPL A&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. (a) 02 (b) FFH (c) FDH&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Zeros&lt;/p&gt;&lt;p&gt;3. One&lt;/p&gt;&lt;p&gt;4. All zeros&lt;/p&gt;&lt;p&gt;5. False&lt;/p&gt;&lt;p&gt;6. #53&lt;/p&gt;&lt;p&gt;7. 66H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 6.4: ROTATE INSTRUCTION AND DATA SERIALIZATION&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. What is the value of register A after each of the following instructions?&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOV A, #25H&lt;/p&gt;&lt;p&gt;RR A&amp;nbsp;&lt;/p&gt;&lt;p&gt;RR A&amp;nbsp;&lt;/p&gt;&lt;p&gt;RR A&amp;nbsp;&lt;/p&gt;&lt;p&gt;RR A&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. What is the value of register A after each of the following instructions?&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOV A, #A2H&lt;/p&gt;&lt;p&gt;RL A&amp;nbsp;&lt;/p&gt;&lt;p&gt;RL A&amp;nbsp;&lt;/p&gt;&lt;p&gt;RL A&amp;nbsp;&lt;/p&gt;&lt;p&gt;RL A&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. What is the value of register A after each of the following instructions?&amp;nbsp;&lt;/p&gt;&lt;p&gt;CLR A&lt;/p&gt;&lt;p&gt;SETB C&amp;nbsp;&lt;/p&gt;&lt;p&gt;RRC A&lt;/p&gt;&lt;p&gt;SETB C&lt;/p&gt;&lt;p&gt;RRC A&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Why does &quot;RLC Rl&quot; give an error in the 8051?&lt;/p&gt;&lt;p&gt;5. What is in register A after the execution of the following code?&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOV A, #85H&lt;/p&gt;&lt;p&gt;SWAP A&lt;/p&gt;&lt;p&gt;ANL A,#OFOH&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. Find the status of the CY flag after the following code.&amp;nbsp;&lt;/p&gt;&lt;p&gt;CLR A&lt;/p&gt;&lt;p&gt;ADD A, #OFFH&lt;/p&gt;&lt;p&gt;JNC OVER&amp;nbsp;&lt;/p&gt;&lt;p&gt;CPL C&lt;/p&gt;&lt;p&gt;OVER:&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. Find the status of the CY flag after the following code.&amp;nbsp;&lt;/p&gt;&lt;p&gt;OVER:&amp;nbsp;&lt;/p&gt;&lt;p&gt;CLR C&lt;/p&gt;&lt;p&gt;JNC OVER&lt;/p&gt;&lt;p&gt;SETB C&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. Find the status of the CY flag after the following code.&amp;nbsp;&lt;/p&gt;&lt;p&gt;OVER:&amp;nbsp;&lt;/p&gt;&lt;p&gt;CLR C&lt;/p&gt;&lt;p&gt;JC OVER&lt;/p&gt;&lt;p&gt;CPL C&amp;nbsp;&lt;/p&gt;&lt;p&gt;9. Show how to save the status of P2.7 in RAM bit location 31.&lt;/p&gt;&lt;p&gt;10. Show how to move the status of RAM bit location 09 to Pl.4.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 52H&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 2AH&lt;/p&gt;&lt;p&gt;3. COH&lt;/p&gt;&lt;p&gt;4. Because all the rotate instructions work with the accumulator only&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. SOH&lt;/p&gt;&lt;p&gt;6. CY= 0&lt;/p&gt;&lt;p&gt;7. CY= 1&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. CY= 1&lt;/p&gt;&lt;p&gt;9. MOV C, P2. 7 ; save status of P2. 7 on CY&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOV 31,C&amp;nbsp; &amp;nbsp;;save carry in RAM bit location 06&lt;/p&gt;&lt;p&gt;10. MOV C, 9&amp;nbsp; ;save status of RAM bit 09 in CY&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOV Pl.4,C&amp;nbsp; &amp;nbsp;;save carry in Pl.4&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 6.5: BCD, ASCII, AND OTHER APPLICATION PROGRAMS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. For the following decimal numbers, give the packed BCD and unpacked BCD representations.&lt;/p&gt;&lt;p&gt;(a)lS (b)99&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Show the binary and hex formats for &quot;76&quot; and its BCD version.&lt;/p&gt;&lt;p&gt;3. Does the register A have BCD data after the following instruction is executed?&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOV A,#54&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. 67H in BCD when converted to ASCII is H and H.&lt;/p&gt;&lt;p&gt;5. Does the following convert unpacked BCD in register A to ASCII?&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOV A,#09&lt;/p&gt;&lt;p&gt;ADD A,#30H&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. The checksum byte method is used to test data integrity in (RAM, ROM).&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. Find the checksum byte for the following hex values: 88H, 99H, AAH, BBH, CCH, DDH&lt;/p&gt;&lt;p&gt;8. True or false. If we add all the bytes, including&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. (a) 15H = 0001 0101 packed BCD, 0000 0001,0000 0101 unpacked BCD&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) 99H = 10011001 packed BCD, 00001001,0000 1001 unpacked BCD&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 3736H = 00110111 00110110B and in BCD we have 76H = 0111 OllOB&lt;/p&gt;&lt;p&gt;3. No. We need to write it 54H (with the H) or 01010100B to make it in BCD. The value 54 without the &quot;H&quot; is interpreted as 36H by the assembler.&lt;/p&gt;&lt;p&gt;4. 36H,37H&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Yes, since A= 39H&lt;/p&gt;&lt;p&gt;6. ROM&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. 88H + 99H + AAH + BBH + CCH + DDH = 42FH. Dropping the carries we have 2FH, and its 2&#39;s complement is DlH.&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. False&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/6773422375293311256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-6-arithmetic-logic-instructions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6773422375293311256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6773422375293311256'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-6-arithmetic-logic-instructions.html' title='Arithmetic, Logic Instructions, and Programs  - Unit 6 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-4033181761432702603</id><published>2020-08-24T15:01:00.007+05:30</published><updated>2020-08-27T02:44:18.370+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>8051 Addressing Modes - Unit 5  - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 5.1: IMMEDIATE AND REGISTER ADDRESSING MODES&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Can the programmer of a microcontroller make up new addressing modes?&lt;/p&gt;&lt;p&gt;2. Show the instruction to load 1000 0000 (binary) into R3.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Why is the following invalid?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&quot;MOV R2, DPTR&quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. True or false. DPTR is a 16-bit register that is also accessible in low-byte and high-byte formats.&lt;/p&gt;&lt;p&gt;5. Is the PC (program counter) also available in low-byte and high-byte formats?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. No&lt;/p&gt;&lt;p&gt;2. MOV R3,#10000000B&lt;/p&gt;&lt;p&gt;3. Source and destination registers&#39; sizes do not match.&lt;/p&gt;&lt;p&gt;4. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. No&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 5.2: ACCESSING MEMORY USING VARIOUS ADDRESSING MODES&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The instruction &quot;MOV A, 40H&quot; uses addressing ________mode. Why?&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. What address is assigned to register R2 of bank O?&lt;/p&gt;&lt;p&gt;3. What address is assigned to register R2 of bank 2?&lt;/p&gt;&lt;p&gt;4. What address is assigned to register A?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Which registers are allowed to be used for register indirect addressing mode if the data is in on-chip RAM?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Direct; because there is no&quot;#&quot; sign&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 02&lt;/p&gt;&lt;p&gt;3. 12H&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. EOH&lt;/p&gt;&lt;p&gt;5. RO and Rl&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 5.3: BIT ADDRESSES FOR 1/0 AND RAM&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. All I/0 ports of the 8051 are bit-addressable.&lt;/p&gt;&lt;p&gt;2. True or false. All registers of the 8051 are bit-addressable.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. True or false. All RAM locations of the 8051 are bit-addressable.&lt;/p&gt;&lt;p&gt;4. Indicate which of the following registers are bit-addressable.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) A &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) B &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) R4 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) PSW &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(e) R7&lt;/p&gt;&lt;p&gt;5. Of the 128 bytes of RAM in the 8051, how many bytes are bit-addressable? List them.&lt;/p&gt;&lt;p&gt;6. How would you check to see whether bit DO of R3 is high or low?&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. Find out to which byte each of the following bits belongs. Give the address of the RAM byte in hex.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) SETB 2 0 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) CLR 32 &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) SETB 12H &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) SETB 95H &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(e) SETB OE6H&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. While bit addresses 00 - 7FH belong to _______________ and bit addresses 80 - F7H belong&amp;nbsp;&lt;/p&gt;&lt;p&gt;to _________________&lt;/p&gt;&lt;p&gt;9. True or false. PO, Pl, P2, and P3 are part of SFR.&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. True or false. Register ACC is bit-addressable.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. False&lt;/p&gt;&lt;p&gt;3. False&lt;/p&gt;&lt;p&gt;4. A, B, and PSW&lt;/p&gt;&lt;p&gt;5. 16 bytes are bit-addressable; they are from byte location 20H to 2FH.&lt;/p&gt;&lt;p&gt;6. MOV A,R3&amp;nbsp;&lt;/p&gt;&lt;p&gt;JNBACC.O&lt;/p&gt;&lt;p&gt;7. For (a), (b), and (c) use Figure 5-1.&amp;nbsp;&lt;/p&gt;&lt;p&gt;(a) RAM byte 22H, bit 04&lt;/p&gt;&lt;p&gt;(b) RAM byte 24H, bit DO&amp;nbsp;&lt;/p&gt;&lt;p&gt;(c) RAM byte 22H, bit 02&lt;/p&gt;&lt;p&gt;For (d) and (e) use&amp;nbsp;&lt;/p&gt;&lt;p&gt;Figure 5-2. (d) SETB Pl.5 (e) SEIB ACC.6&amp;nbsp;&lt;/p&gt;&lt;p&gt;8. RAM bytes 00 - 20H, special function registers.&lt;/p&gt;&lt;p&gt;9. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;10. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 5.4: EXTRA 128-BYTE ON-CHIP RAM IN 8052&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. The 8052 is an upgraded version of the 8051.&lt;/p&gt;&lt;p&gt;2. True or false. The 8052 has a total of 256 bytes of on-chip RAM in addition to the SFRs.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. True or false. The extra 128 bytes of RAM in the 8052 is physically the same RAM as the SFR.&lt;/p&gt;&lt;p&gt;4. Give the address for the upper RAM of the 8052.&lt;/p&gt;&lt;p&gt;5. Show how to put value 99H into RAM location F6H of upper RAM in the 8052.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&lt;/p&gt;&lt;p&gt;2. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. False&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. 80-FFH&lt;/p&gt;&lt;p&gt;5. MOV&amp;nbsp; A, #99H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;MOV&amp;nbsp; RO, #OF6H&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;MOV&amp;nbsp; @RO,A&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/4033181761432702603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-5-8051-addressing-modes-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4033181761432702603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4033181761432702603'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-5-8051-addressing-modes-review.html' title='8051 Addressing Modes - Unit 5  - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-8696703419918459400</id><published>2020-08-24T14:52:00.003+05:30</published><updated>2020-08-27T02:44:47.561+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>I/O Port Programming - Unit 4 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 4.1: 8051 I/0 PROGRAMMING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. There are a total of ports in the 8051 and each has bits.&lt;/p&gt;&lt;p&gt;2. True or false. All of the 8051 ports can be used for both input and output.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Which 8051 ports need pull-up resistors to function as an I/0 port?&lt;/p&gt;&lt;p&gt;4. True or false. Upon power-up, the 1/0 pins are configured as output ports.&lt;/p&gt;&lt;p&gt;5. Show simple statements to send 99H to ports Pl and P2.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. 4, 8.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. PO&lt;/p&gt;&lt;p&gt;4. False&lt;/p&gt;&lt;p&gt;5. MOV Pl,#99H&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;MOVP2,#99H&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 4.2: 1/0 BIT MANIPULATION PROGRAMMING&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. The instruction &quot;SETB P2. 1&quot; makes pin P2.1 high while leaving other bits of P2 unchanged.&lt;/p&gt;&lt;p&gt;2. Show one way to toggle the pin Pl.7 continuously using 8051 instructions.&lt;/p&gt;&lt;p&gt;3. Using the instruction&quot; JNB P2 . 5, HERE&quot; assumes that bit P2.5 is an (input, output).&lt;/p&gt;&lt;p&gt;4. Write instructions to get the status of P2.7 and put it on P2.0.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Write instructions to toggle both bits of Pl.7 and Pl.O continuously.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Hl: CPL Pl.7&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;SJMP&amp;nbsp; Hl&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Input&lt;/p&gt;&lt;p&gt;4. MOV C,P2.7&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;MOV P2.0,C&lt;/p&gt;&lt;p&gt;5. Hl: CPL Pl.7&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;CPL&amp;nbsp; Pl.O&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;SJMP&amp;nbsp; Hl&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/8696703419918459400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-4-io-port-programming-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8696703419918459400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8696703419918459400'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-4-io-port-programming-review.html' title='I/O Port Programming - Unit 4 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-5442683708269274097</id><published>2020-08-24T14:47:00.002+05:30</published><updated>2020-08-27T02:45:19.345+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>Jump, Loop, and Call Instructions - Unit 3 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;&amp;nbsp;SECTION 3.1: LOOP AND JUMP INSTRUCTIONS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. The mnemonic DJNZ stands for _&lt;/p&gt;&lt;p&gt;2. True or false. &quot;DJNZ R5,BACK&quot; combines a decrement and a jump in a single instruction.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. &quot;JNC HERE&quot; is a -byte instruction.&lt;/p&gt;&lt;p&gt;4. In &quot;JZ NEXT&quot;, which register&#39;s content is checked to see if it is zero?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. LJMP is a -byte instruction.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Decrement and jump if not zero&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. 2&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. A&lt;/p&gt;&lt;p&gt;5. 3&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 3.2: CALL INSTRUCTIONS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. What do the mnemonics &quot;LCALL&quot; and&quot; A CALL&quot; stand for?&lt;/p&gt;&lt;p&gt;2. True or false. In the 8051, control can be transferred anywhere within the 64K bytes of code space if using the&amp;nbsp;&lt;/p&gt;&lt;p&gt;LCALL instruction.&lt;/p&gt;&lt;p&gt;3. How does the CPU know where to return to after executing the RET instruction?&lt;/p&gt;&lt;p&gt;4. Describe briefly the function of the RET instruction.&lt;/p&gt;&lt;p&gt;5. The LCALL instruction is a -byte instruction.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. Long CALL and Absolute CALL&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. True&lt;/p&gt;&lt;p&gt;3. The address of where to return is in the stack.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Upon executing the RET instruction, the CPU pops off the top two bytes of the stack into the program counter (PC)&lt;/p&gt;&lt;p&gt;register and starts to execute from this new location.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. 3&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 3.3: TIME DELAY FOR VARIOUS 8051 CHIPS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True or false. In the 8051, the machine cycle lasts 12 clock cycles of the crystal frequency.&lt;/p&gt;&lt;p&gt;2. The minimum number of machine&amp;nbsp;&lt;/p&gt;&lt;p&gt;cycles needed to execute an 8051 instruction is _&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. For Question 2, what is the maximum number of cycles needed, and for which instructions?&lt;/p&gt;&lt;p&gt;4. Find the machine cycle for a crystal frequency of 12 MHz.&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Assuming a crystal frequency of 12 MHz, find the time delay associated with the loop section of the following&lt;/p&gt;&lt;p&gt;DELAY subroutine.&amp;nbsp;&lt;/p&gt;&lt;p&gt;DELAY: MOV R3,#100&lt;/p&gt;&lt;p&gt;HERE: NOP&amp;nbsp;&lt;/p&gt;&lt;p&gt;NOP&lt;/p&gt;&lt;p&gt;NOP&amp;nbsp;&lt;/p&gt;&lt;p&gt;DJNZ R3 , HERE&lt;/p&gt;&lt;p&gt;RET&amp;nbsp;&lt;/p&gt;&lt;p&gt;6. True or false. In the DS89C420/30, the machine cycle lasts 12 clock cycles of the crystal frequency.&lt;/p&gt;&lt;p&gt;7. Find the machine cycle for a DS89C420/30 if the crystal frequency is 11.0592 MHz.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. 1&lt;/p&gt;&lt;p&gt;3. MUL and DIV each take 4 machine cycles.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. 12 MHz I 12 = 1 MHz, and MC= 1/1 MHz= 1 µs.&lt;/p&gt;&lt;p&gt;5. [100(1 + 1 + 1 + 2)] x 1 µs = 500 µs = 0.5 milliseconds.&lt;/p&gt;&lt;p&gt;6. False. It takes 1 clock.&amp;nbsp;&lt;/p&gt;&lt;p&gt;7. 11.0592 MHz/1 = 11.0592 MHz; machine cycle is 1/11.0592 MHz= 0.0904 µs = 90.4 ns&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/5442683708269274097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-3-jump-loop-and-call-instructions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/5442683708269274097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/5442683708269274097'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-3-jump-loop-and-call-instructions.html' title='Jump, Loop, and Call Instructions - Unit 3 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-6750076532740854522</id><published>2020-08-24T14:35:00.010+05:30</published><updated>2020-08-27T02:45:54.837+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>8051 Assembly Language Programming - Unit 2 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;b style=&quot;color: red; font-size: xx-large; text-align: center;&quot;&gt;Unit - 2:&amp;nbsp; &lt;/b&gt;&lt;span style=&quot;color: red; font-size: xx-large;&quot;&gt;&lt;b&gt;8051 Assembly Language Programming&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;color: #ff00fe; font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ff00fe; font-size: x-large;&quot;&gt;&lt;b style=&quot;background-color: #fcff01; color: black; font-size: medium;&quot;&gt;SECTION 2.1: INSIDE THE 8051&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;p&gt;1. Write the instructions to move value 34H into register A and value 3FH into register B, then add them together.&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Write the instructions to add the values 16H and CDH. Place the result in register R2.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;3. True or false. No value can be moved directly into registers  RO - R7.&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. What is the largest hex value that can be moved into an 8-bit register? What is the decimal equivalent of the hex  value?&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. The vast majority of registers in 8051 are bits.&lt;/p&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;1. MOV A,#34H&amp;nbsp;&lt;/p&gt;&lt;p&gt;MOVB,#3FH&lt;/p&gt;&lt;p&gt;ADDA,B&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. MOV A,#16H&lt;/p&gt;&lt;p&gt;ADDA,#OCDH&lt;/p&gt;&lt;p&gt;MOVR2,A&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. False&lt;/p&gt;&lt;p&gt;4. FF hex and 255 in decimal&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. 8&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 2.2: INTRODUCTION TO 8051 ASSEMBLY PROGRAMMING&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ff00fe; font-size: x-large;&quot;&gt;&lt;span style=&quot;color: black; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. What is the purpose of pseudo-instructions?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. Are translated by the assembler into machine code, whereas are not.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. (True or False) Assembly language is a high-level language.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. Which of the following produces opcode?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) ADD A,R2&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) MOV A,#12&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) ORG 2000H&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) SJMP HERE&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. Pseudo-instructions are also called ______________&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;6. (True or False) Assembler directives are not used by the CPU itself. They are simply a guide to the assembler.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;7. In question 4, which one is an assembler directive?&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. The real work is&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;performed by instructions such as MOV and ADD. Pseudo-instructions, also called assembler&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;directives, instruct the assembler in doing its job.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. The instruction mnemonics, pseudo-instructions&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. False&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. All except (c)&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. Assembler directive&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;6. True&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;7. (c)&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 2.3: ASSEMBLING AND RUNNING AN 8051 PROGRAM&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. True or false. The DOS program EDIT produces an ASCII file.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. True or false. Generally, the extension of the source file is &quot;asm&quot; or &quot;src&quot;.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. Which of the following files can be produced by the DOS EDIT program?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) myprog.asm&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) myprog.obj&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) myprog.exe&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) myprog.lst&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. Which of the following files is produced by an 8051 assembler?&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) myprog.asm&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) myprog.obj&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) myprog.hex&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) myprog.lst&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. Which of the following files lists syntax errors?&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) myprog.asm&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) myprog.obj&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(c) myprog.hex&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(d) myprog.lst&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. True&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. True&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. (a)&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. (b) and (d)&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. (d)&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 2.4: THE PROGRAM COUNTER AND ROM SP ACE IN THE 8051&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. In the 8051, the program counter is bits wide.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. True or false. Every member of the 8051 family, regardless of the maker, wakes up at memory OOOOH when it is powered up.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. At what ROM location do we store the first opcode of an 8051 program?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. The instruction &quot;MOV A, #44H&quot; is a -byte instruction.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. What is the ROM address space for the 8052 chip?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. 16&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. True&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. OOOOH&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. 2&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. With 8K bytes, we have 8192 (8 x 1024 = 8192) bytes, and the ROM space is 0000 to lFFFH.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 2.5: 8051 DATA TYPES AND DIRECTIVES&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. The directive is always used for ASCII strings.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. How many bytes are used by the following?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;DATA 1: DB &quot;AMERICA&quot;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. What is the advantage in using the EQU directive to define a constant value?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. How many bytes are set aside by each of the following directives?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(a) ASC_DATA: DB &quot;1234&quot;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;(b) MY_DATA: DB &quot;ABC1234&quot;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. State the contents of memory locations 200H - 205H for the following:&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;ORG 200H MYDATA: DB &quot;ABC123&quot;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. DB&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. 7&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. If the value is to be changed later, it can be done once in one place instead of at every occurrence.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. (a) 4 bytes (b) 7 bytes&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. This places the ASCII values for each character in memory locations starting at 200H. Notice that all values are in&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;hex.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;200 = (41)&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;201 = (42)&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;202 = (43)&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;203 = (31)&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;204 = (32)&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;205 = (33)&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;SECTION 2.6: 8051 FLAG BITS AND THE PSW REGISTER&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. The flag register in the 8051 is called _&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. What is the size of the flag register in the 8051?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. Which bits of the PSW register are user-definable?&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. Find the CY and AC flag bits for the following code.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;MOVA, #OFFH&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;ADD A, #01&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. Find the CY and AC flag bits for the following code.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;MOVA, #OC2H&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;ADD A, #3DH&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;1. PSW (program status register)&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;2. 8 bits&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;3. 01 and 05, which are referred to as PSW.1 and PSW.5, respectively.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;4.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;5. Hex: FF&amp;nbsp; + 1 = 100&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Binary: 1111 1111 + 1 = 1 0000 0000&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;This leads to CY = 1 and AC = 1.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Hex C2 + 3D = FF&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Binary 1100 0010 + 0011 1101 = 1111 1111&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b style=&quot;background-color: #fcff01;&quot;&gt;SECTION 2.7: 8051 REGISTER BANKS AND STACK&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;1. What is the size of the SP register?&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. With each PUSH instruction, the stack pointer register, SP, is (incremented, decremented) by 1.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. With each POP instruction, the SP is (incremented, decremented) by 1.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. On power-up, the 8051 uses RAM location as the first location of the stack.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. On power-up, the 8051 uses bank for registers RO - R7.&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;6. On power-up, the 8051 uses RAM locations to for registers RO - R7&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;7. Which register bank is used if we alter RSO and RSl of the PSW by the following two instructions? &lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;SETB PSW.3&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;SETB PSW.4&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;8. In Question 7, what RAM locations are used for register RO - R7?&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;&quot;&gt;1. 8-bit&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;2. Incremented&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;3. Decremented&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;4. 08&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;5. 0&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;6. 0-7&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;7. Register bank 3&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;8. RAM locations 18H to lFH&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;color: black; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/6750076532740854522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-2-8051-assembly-language.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6750076532740854522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6750076532740854522'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-2-8051-assembly-language.html' title='8051 Assembly Language Programming - Unit 2 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-4764399141466481456</id><published>2020-08-23T22:22:00.006+05:30</published><updated>2020-08-27T02:47:00.393+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>The 8051 Microcontrollers - Unit 1 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;b style=&quot;color: red; font-size: xx-large; text-align: center;&quot;&gt;Unit - 1:&amp;nbsp; The 8051 Microcontrollers&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;color: #ff00fe; font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ff00fe; font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;Section 1.1 -&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;MICROCONTROLLERS AND EMBEDDED PROCESSORS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Microcontrollers are normally less expensive than Microprocessors (TRUE / FALSE)&lt;/div&gt;&lt;div&gt;2. When comparing a system board based on a microcontroller and a general purpose microprocessor, which one is cheaper?&lt;/div&gt;&lt;div&gt;3. A microcontroller normally has which of the following devices on-chip?&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; a. RAM&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; b. ROM&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; c. I/O&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; d. All of the above&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;4. A general purpose microprocessor normally needs which of the following devices to be attached to it?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; a. RAM&amp;nbsp;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; b. ROM&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; c. I/O&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; d. All of the above&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. An Embedded System is also called a dedicated system. Why?&lt;/div&gt;&lt;/div&gt;&lt;div&gt;6. What does the term Embedded System mean?&lt;/div&gt;&lt;div&gt;7. Why does having multiple sources of a given product mater?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. TRUE&lt;/div&gt;&lt;div&gt;2. A microcontroller based system&lt;/div&gt;&lt;div&gt;3. D&lt;/div&gt;&lt;div&gt;4. D&lt;/div&gt;&lt;div&gt;5. It is defined since it is dedicated to doing one type of job.&lt;/div&gt;&lt;div&gt;6. Embedded System means that the application and processor are combined into a single system.&lt;/div&gt;&lt;div&gt;7. Having multiple sources for a given part means you are not hostage to one supplier. More importantly, competition among suppliers brings about lower cost for that product.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #fcff01; color: #ff00fe;&quot;&gt;Section 1.2 -&amp;nbsp;OVERVIEW OF THE 8051 FAMILY&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Name three features of the 8051.&lt;/div&gt;&lt;div&gt;2. What is the major difference between the 8051 and 8052 microcontrollers?&lt;/div&gt;&lt;div&gt;3. Give the size of RAM in each of the follwoing:&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; a. 8051&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; b. 8052&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; c. 8031&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;4. Give the size of On-Chip ROM in each of the following:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; a. 8051&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; b. 8052&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; c. 8031&lt;/div&gt;&lt;/div&gt;&lt;div&gt;5. The 8051 is a(an) ___ bit microcontroller.&lt;/div&gt;&lt;div&gt;6. State a major difference between the 8751, the AT89C51 and the DS89C420/430.&lt;/div&gt;&lt;div&gt;7. The DS89C420/430 is really an 8052 chip. (TRUE / FALSE)&lt;/div&gt;&lt;div&gt;8. The DS89C420/430&amp;nbsp; has a loader embedded to the chip, therefore eliminating the need for ROM burner. (TRUE / FALSE)&lt;/div&gt;&lt;div&gt;9. The DS89C420/430&amp;nbsp; chip has _____ bytes of On-Chip ROM.&lt;/div&gt;&lt;div&gt;10. The DS89C420/430&amp;nbsp; chip has _____ bytes of RAM&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. 128 Byres of RAM, 4K Bytes of On-Chip ROM, Four 8 bit I/O ports&lt;/div&gt;&lt;div&gt;2. 8052 is similar to 8051 with extra features like one extra timer, 8K Bytes On-Chip ROM instead of 4K On-Chip ROM&lt;/div&gt;&lt;div&gt;3.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; a. 8051 - 128 Bytes of RAM&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; b. 8052 - 256 Bytes of RAM&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; c. 8031 -&amp;nbsp; 128 Bytes of RAM&lt;/div&gt;&lt;/div&gt;&lt;div&gt;4.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; a. 8051 - 4K Bytes&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; b. 8052 - 8K Bytes&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; c. 8031 - Zero KBytes&lt;/div&gt;&lt;/div&gt;&lt;div&gt;5. 8&lt;/div&gt;&lt;div&gt;6. The main difference is the type of On-Chip ROM.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; a.&amp;nbsp;&lt;/span&gt;8751 - UV-EPROM&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; b. AT89C51 - FLASH ROM&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; c. DS89C420/430 - FLASH with a LOADER on the Chip&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;7. TRUE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;8. TRUE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;9. 16K&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;10. 256&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/4764399141466481456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-1-8051-microcontrollers-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4764399141466481456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4764399141466481456'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-1-8051-microcontrollers-review.html' title='The 8051 Microcontrollers - Unit 1 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-7839516159613320003</id><published>2020-08-23T21:51:00.008+05:30</published><updated>2020-08-27T02:48:05.300+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="8051 Mircrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Mazidi"/><title type='text'>Introduction to Computing - Unit 0 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-large;&quot;&gt;&lt;b&gt;Unit - 0:&amp;nbsp; Introduction to Computing&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ff00fe; font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ff00fe; font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;Section 0.1 -&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;&amp;nbsp;NUMBERING AND CODING SYSTEMS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Why do computers use the binary number system instead of
the decimal system?&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. Convert 34 decimal&amp;nbsp; to binary and Hex&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. Convert 110101 binary to Hex
and decimal&amp;nbsp;&lt;/div&gt;&lt;div&gt;4. Perform binary addition: 101100 + 101&amp;nbsp;&lt;/div&gt;&lt;div&gt;5. Convert 101100 binary to its
2&#39;s complement representation&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. Add Hexa decimal numbers:&amp;nbsp; 36B and F6&amp;nbsp;&lt;/div&gt;&lt;div&gt;7. Subtract in Hexa decimal: 36B - F6&amp;nbsp;&lt;/div&gt;&lt;div&gt;8.
Write &quot;80x86 CPUs&quot; in its ASCII code (in Hex form)&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;Answers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. because each bit
can have one of two voltage levels: ON and OFF&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. 34 decimal = 100010 binary = 22 Hexadecimal&lt;/div&gt;&lt;div&gt;3.
110101 binary = 35 hexadecimal&amp;nbsp; = 53 decimal&lt;/div&gt;&lt;div&gt;4. 1110001&amp;nbsp;&lt;/div&gt;&lt;div&gt;5. 010100&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. 461&amp;nbsp;&lt;/div&gt;&lt;div&gt;7. 275&amp;nbsp;&lt;/div&gt;&lt;div&gt;8. 38 30 78 38 36 20 43
50 55 73&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;Section 0.2 -&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;DIGITAL PRIMER&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. The logical operation ___________ gives a 1 output when
all inputs are 1.&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. the logical operation ___________ gives a 1 output when 1
or more of its inputs is 1.&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. the lgoical operation ___________ is oftern used
to compare if the two inputs have the same value.&amp;nbsp;&lt;/div&gt;&lt;div&gt;4. A __________ gate does not
change the logic level of the input.&amp;nbsp;&lt;/div&gt;&lt;div&gt;5. Name a common use for flip-flops&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. An
address ________ is used to identify a predetermined binary address.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;&lt;b&gt;Answers:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1.
AND&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. OR&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. XOR&amp;nbsp;&lt;/div&gt;&lt;div&gt;4. Buffer&amp;nbsp;&lt;/div&gt;&lt;div&gt;5. Storing data&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. Decoder&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;Section 0.3 -&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;INSIDE THE COMPUTER&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. How many
bytes in 24 kilobytes?&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. What does &quot;RAM&quot; stands for? How is it used in computer
systems?&amp;nbsp;&lt;/div&gt;&lt;div&gt;3. What does &quot;ROM&quot; stands for? How is it used in computer systems?&amp;nbsp;&lt;/div&gt;&lt;div&gt;4.
Why is RAM called &quot;Volatile Memory&quot;?&amp;nbsp;&lt;/div&gt;&lt;div&gt;5. List the three major components of a
computer system&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. What does &quot;CPU&quot; stand for? Explain its function in a
computer.&amp;nbsp;&lt;/div&gt;&lt;div&gt;7. List the three types of buses found in computer systems and state
briefly the purpose of each type of bus.&amp;nbsp;&lt;/div&gt;&lt;div&gt;8. State which of the following is
Unidirectional and bi-directional. a. Data bus b. Address bus&amp;nbsp;&lt;/div&gt;&lt;div&gt;9. If the address
bus for a given computer has 16 lines, what is the maximum amount of memory it
can access?&amp;nbsp;&lt;/div&gt;&lt;div&gt;10. what does &quot;ALU&quot; stand for? what is its purpose?&amp;nbsp;&lt;/div&gt;&lt;div&gt;11. How are
registers used in computer systems?&amp;nbsp;&lt;/div&gt;&lt;div&gt;12. What is the purpose of the program
counter?&amp;nbsp;&lt;/div&gt;&lt;div&gt;13. What is the purpose of the instruction decoder?&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #2b00fe; font-size: x-large;&quot;&gt;&lt;b&gt;Answers:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. 24,576&amp;nbsp;&lt;/div&gt;&lt;div&gt;2. Random Access Memory: it is used for temporary storage of programs that the
CPU is running, such as the operating system, word processing programs etc...&amp;nbsp;&lt;/div&gt;&lt;div&gt;3.
Read Only Memory: it is used for permanent programs such as those that control
the keyboard, mouse etc...&amp;nbsp;&lt;/div&gt;&lt;div&gt;4. The contnets are RAM are lost when the computer is
powered off.&amp;nbsp;&lt;/div&gt;&lt;div&gt;5. The CPU, Memory and I/O devices&amp;nbsp;&lt;/div&gt;&lt;div&gt;6. Central Processing Unit: it
can be considered as the &quot;brain&quot; of the computer, it executes the programs and
controls all other devices in the computer.&amp;nbsp;&lt;/div&gt;&lt;div&gt;7. The address bus carries the
location (address) needed by the CPU: The data bus carries information in and
out of the CPU The control bus is used by the CPU to send signals controlling
I/O devices.&amp;nbsp;&lt;/div&gt;&lt;div&gt;8. a. Birectional b. Unidirectional&amp;nbsp;&lt;/div&gt;&lt;div&gt;9. 64KB or 65,536 bytes&amp;nbsp;&lt;/div&gt;&lt;div&gt;10.
Arithmetic Logic Unit: it performs all arithmetic and logical operations&amp;nbsp;&lt;/div&gt;&lt;div&gt;11. It
is for temporary storage of information&amp;nbsp;&lt;/div&gt;&lt;div&gt;12. It holds the address of the next
instruction to be executed&amp;nbsp;&lt;/div&gt;&lt;div&gt;13. It tells the CPU what steps to perform for each
instruction&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/7839516159613320003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-0-introduction-to-computing-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/7839516159613320003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/7839516159613320003'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2020/08/unit-0-introduction-to-computing-review.html' title='Introduction to Computing - Unit 0 - Review Questions &amp; Answers from 8051 Microcontrollers &amp; Embedded Systems by Mazidi'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-1771190019997465570</id><published>2018-04-23T17:26:00.001+05:30</published><updated>2018-04-23T17:28:23.938+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="2018"/><category scheme="http://www.blogger.com/atom/ns#" term="ISRO"/><title type='text'>ISRO 2018 Question Paper - Electronics (EC)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe height=&quot;800&quot; src=&quot;https://drive.google.com/file/d/1z4OUXm3afENEAyQwKkkOiq-i3YXY3LQ3/preview&quot; width=&quot;540&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/1771190019997465570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2018/04/isro-2018-question-paper-electronics-ec.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1771190019997465570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1771190019997465570'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2018/04/isro-2018-question-paper-electronics-ec.html' title='ISRO 2018 Question Paper - Electronics (EC)'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-8495118727989338000</id><published>2018-03-27T15:16:00.001+05:30</published><updated>2018-03-27T15:16:17.444+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="TS Transco"/><title type='text'>Final Key for TS TRANSCO  AE  Electrical Exam</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
For Question Paper &lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.satishkashyap.com/2018/03/ts-transco-assistant-engineer-ae_14.html&quot; target=&quot;_blank&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe height=&quot;640&quot; src=&quot;https://drive.google.com/file/d/1fYBXtMoAcGKoxVmPzUyJY3gLntJUeYh2/preview&quot; width=&quot;510&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/8495118727989338000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2018/03/final-key-for-ts-transco-ae-electrical.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8495118727989338000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/8495118727989338000'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2018/03/final-key-for-ts-transco-ae-electrical.html' title='Final Key for TS TRANSCO  AE  Electrical Exam'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-4943237657135462776</id><published>2018-03-27T15:13:00.000+05:30</published><updated>2018-03-27T15:17:53.502+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="TS Transco"/><title type='text'>Final Key for TS TRANSCO - AE Telecom exam </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
for Question paper &lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.satishkashyap.com/2018/03/ts-transco-assistant-engineer-ae.html&quot; target=&quot;_blank&quot;&gt;click here&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;
&lt;iframe height=&quot;640&quot; src=&quot;https://drive.google.com/file/d/1xvYTdqfU5pIoGDfFstLwyZp_q3I1MTsE/preview&quot; width=&quot;510&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/4943237657135462776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2018/03/final-key-for-ts-transco-ae-telecom-exam.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4943237657135462776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/4943237657135462776'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2018/03/final-key-for-ts-transco-ae-telecom-exam.html' title='Final Key for TS TRANSCO - AE Telecom exam '/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-2224528286438755220</id><published>2018-03-21T11:33:00.001+05:30</published><updated>2018-03-21T11:33:27.120+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="TS Transco"/><title type='text'>Complete Solutions for TS TRANSCO 2018 Assistant Engineer ECE AE from ACE Academy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;iframe src=&quot;https://drive.google.com/file/d/1DgmyoZQs5hjyVXEoGBSvYil3R0PBEde5/preview&quot; width=&quot;520&quot; height=&quot;680&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/2224528286438755220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2018/03/complete-solutions-for-ts-transco-2018.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/2224528286438755220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/2224528286438755220'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2018/03/complete-solutions-for-ts-transco-2018.html' title='Complete Solutions for TS TRANSCO 2018 Assistant Engineer ECE AE from ACE Academy'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-6199257874273388520</id><published>2018-03-21T11:21:00.004+05:30</published><updated>2018-03-21T11:24:53.516+05:30</updated><title type='text'>Complete Solutions from ACE academy - TS Transco 2018 AE - EEE branch</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;iframe height=&quot;640&quot; src=&quot;https://drive.google.com/file/d/1zTudvPQtxe2eOg7SOsjUq_YkqxfER6fi/preview&quot; width=&quot;510&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/6199257874273388520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2018/03/complete-solutions-from-ace-academy-ts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6199257874273388520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/6199257874273388520'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2018/03/complete-solutions-from-ace-academy-ts.html' title='Complete Solutions from ACE academy - TS Transco 2018 AE - EEE branch'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-1397975206295291544</id><published>2018-03-14T11:54:00.000+05:30</published><updated>2018-03-14T11:54:06.963+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="GATE 2018"/><title type='text'>GATE 2018 Question Papers and Answer Keys (Officially Released by IIT Guwahati)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 class=&quot;main_title&quot;&gt;
&lt;/h1&gt;
&lt;div class=&quot;entry-content&quot;&gt;
&lt;table align=&quot;center&quot; bgcolor=&quot;#F2F2F2&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 75%px;&quot;&gt;
&lt;tbody&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;th align=&quot;center&quot; bgcolor=&quot;#1f3763&quot; colspan=&quot;3&quot;&gt;GATE 2018 Question Papers and Answer Keys&lt;/th&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td align=&quot;left&quot; bgcolor=&quot;#dae3f4&quot; height=&quot;0%&quot; width=&quot;50%&quot;&gt;&lt;strong&gt;Aerospace Engineering (AE)&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot; height=&quot;0&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1kXmzreRyi9OIiCXZXEmtjw4dT2QZ3tHx/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot; height=&quot;0&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1m4qwC-XzRtsAkDn5q4AuMzuYWckIizIQ/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Agricultural Engineering (AG)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1JlIQ6w7ZizJ-v6NePTLhcT2qbmOYw_Pd/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1pE9ygYV7SCj9pBw3bzwWEyjkK4fQipPl/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Architecture and Planning (AR)&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1xNrJCpZns8sjbHa0W29S8IX55LkH7JTI/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1a9BVSxR38FobZYH1v9-ZFrzw2pbpxnEM/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Biotechnology&amp;nbsp;(BT)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/110r1_lQzx4fSSUylOKPcJ1gy2bjxk3r8/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1L7JjDBFkKw7AEGhqsLhMw2VdocJ6n0Rh/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Civil Engineering (CE)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1NzNfUuvP2OFZgSO8ZO8HoRak213-Kj16/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&amp;nbsp;(CE01)&lt;/a&gt;&lt;/strong&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1T-x95CR-vttNyz3335IMo_pwHlr88FiK/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&amp;nbsp;(CE02)&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1LM05NXx8coA0rvjkjYkY5n2zTolQO-rf/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key (CE01)&lt;/a&gt;&lt;/strong&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1IEce78-9C6WTrljVkegJ3IDt92e_l5rh/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key (CE02)&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Chemical Engineering (CH)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1516pPg_gYaY4BDZfp7_uxJktDvv4NVEf/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1IdTgzUvaI42xn3carqRrTxX7enU6K611/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Computer Science and Information Technology (CS)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1pqoma6hhgHhOFl7vrLSTuFXDXl2iC9Kl/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1whFDTWVWev3NZLRwNVPHTXQG-n_9b3D6/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Chemistry (CY)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1OJxMbenSrIOgoh2A6Dl0XqzlANTzcZMM/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/13g8aA98LJzRApt6yuOHj4dZp3m0Bqiu8/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Electronics and Communication Engineering (EC)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1B0TmDfceINdy8kbQWCiywNYIkW34lh0p/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1sZszLdlWgEYp1BXdN5oAq-YDc7IJNFT4/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Electrical Engineering (EE)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1SxGuMb2ZzQYjATZ-MZYp6-YbTd8tb_13/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/11l2uephuGCiNDUV9-6hGYHY_k118oFii/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Ecology and Evolution (EY)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1IgWcSIRE51tXFFwC0X6frSyr0kX9hnd0/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/10vQ4M3A82r2IPFQ9acpfc-sftSaDlRQm/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Geology and Geophysics (GG)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1VEG3XgDNwcTBBiKgDbsaPu2_lR2lQkbX/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1HGgCDJLM5cS9laV1UwsoQzmVNDOWgjmo/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Instrumentation Engineering (IN)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1DXQq_1kcxsCjP59xcwskSp7W-Y3AGqlZ/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Samh5k3XSdbCwgvyxZvFyboUsGGM1TEV/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Mathematics (MA)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1vH5wsrei13Hw3lK3yn6jlgC437tVE1is/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1LhWOtYrGyJLydiOudvfWjxBl-ZmUk6D5/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Mechanical Engineering (ME)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1R0VNsc9R55_aAmD0hb3tOZlLvdEDdvYA/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper (ME01)&lt;/a&gt;&lt;/strong&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1H8FDgOSiziu6mcuFt--0_-VUcSNEDQyV/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper (ME02)&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1wqi5T3tMa_hdnaHTPdzT_SoOaV13068i/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key (ME01)&lt;/a&gt;&lt;/strong&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1VUvyC-Bs0tTQxdc7A194QqPgLmWEDQo3/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key (ME02)&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Mining Engineering (MN)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1gT4KrxMOJljN3SpE41eYiF83IzzzMdDf/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1DzWxAAB1tRD3PFX2YDzemOykNwv3ZKF4/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Metallurgical Engineering (MT)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/15AUTJlHcSAzIt4zBjxlDqpZ8lOgzlKhU/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1PznFINsI-XW9UfUPN3lRjhYswKQzZoAw/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Petroleum Engineering (PE)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1zNKqUR2TL1OFHmz9ls5NRiugSw1zSVnR/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1XnKjPGitWv6PVM6UBTrl9e01Tjnq37O_/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Physics (PH)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/18ElnR6bTax1JYKlMo6IfSKaJ0FQZREUY/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1hihhNZet9Fl81-HKu93pqqtp1eHN_Lak/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Production and Industrial Engineering (PI)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1yKWUfVBA5_wn2NSyjKECK4cYRUq_z4Xk/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#ffffff&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1Q-Lrz5cFXLBZTqzZYdzP9v25mGON7J61/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot; valign=&quot;middle&quot;&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;strong&gt;Textile Engineering and Fibre Science (TF)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1upqz8zeHjyp8Y-Ef9AtOydqM-55Ms7ns/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Question Paper&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td bgcolor=&quot;#dae3f4&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://drive.google.com/file/d/1055VV7AyaV-kdQVBuyXbo1Bwlg1Qzg2z/view&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Answer Key&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/1397975206295291544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2018/03/gate-2018-question-papers-and-answer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1397975206295291544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/1397975206295291544'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2018/03/gate-2018-question-papers-and-answer.html' title='GATE 2018 Question Papers and Answer Keys (Officially Released by IIT Guwahati)'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-83245777239558452.post-5190497275440420891</id><published>2018-03-14T11:42:00.001+05:30</published><updated>2018-03-14T12:18:34.301+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="EEE"/><category scheme="http://www.blogger.com/atom/ns#" term="TS Transco"/><title type='text'>TS Transco Assistant Engineer (AE) - Electrical &amp; Electronics (EEE) Question Paper</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This exam is conducted on 11th Mar 2018 in the Morning session. The exam is bit tough.. those who prepared well can able to attempt, as well a bit lengthy also....those who prepared subject along with mathematics can able to score good marks. For the questions on English grammar and , no separate preparation is needed. We can&#39;t expect questions from history of Telangana, how much we prepare...&lt;br /&gt;
&lt;br /&gt;
So i suggest who are preparing for the next time, prepare both subject and mathematics as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
Have a look at the Question Paper.........&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://drive.google.com/file/d/14JXz9RhIKsjnnDsjZkOwpaMGwLtI6C6u/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: orange; font-size: x-large;&quot;&gt;&lt;b&gt;View or Download&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.satishkashyap.com/feeds/5190497275440420891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.satishkashyap.com/2018/03/ts-transco-assistant-engineer-ae_14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/5190497275440420891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/83245777239558452/posts/default/5190497275440420891'/><link rel='alternate' type='text/html' href='http://www.satishkashyap.com/2018/03/ts-transco-assistant-engineer-ae_14.html' title='TS Transco Assistant Engineer (AE) - Electrical &amp; Electronics (EEE) Question Paper'/><author><name>Satish Kashyap</name><uri>http://www.blogger.com/profile/11400609355612168424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>