State and explain the need of the following development tools microcontroller board: (i) Editor (ii) Assembler (iii) Compiler (iv) Linker

1 Answer

Answer :

1) Editor: An editor is a program which helps you to construct your assembly language program in right format so that the assembler will translate it correctly to machine language. So, you can type your program using editor. This form of your program is called as source program and extension of program must be .asm or .src depending on which assembler is used. The DOS based editor such as EDIT, WordStar, and Norton Editor etc. can be used to type your program. 

2) Assembler: An assembler is programs that translate assembly language program to the correct binary/hex code for each instruction i.e. machine code and generate the file called as Object file with extension .obj and list file with extension .lst extension. It is used to find syntax error in the program. 

3) Compiler: Compiler is programs that translate C language program to the correct binary/hex code for each command i.e. machine code and generate the file called as Object file with extension .obj and list file with extension .lst extension. It is used to find syntax error in the program. 

4) Linker: A linker is a program, which combines, if requested, more than one separately assembled object files into one executable program, such as two or more programs and also generate .abs file and initializes it with special instructions to facilitate its subsequent loading the execution. Some examples of linker are ASEM-51 BL51, Keil u Vision Debugger, LX 51 Enhanced Linker etc

Related questions

Description : A translator for the assembly language to machine language is (1) assembler (2) compiler (3) interpreter (4) linker

Last Answer : assembler

Description : Explain the use of following assembler directives. (i) EQU (ii) ORG

Last Answer : (i) EQU: Equate It is used to define constant without occupying a memory location. Syntax: Label EQU Numeric value By means of this directive, a numeric value is replaced by a symbol. For e.g. ... decimal. If the number is notfollowed by H, it is decimal and the assembler will convert it to hex.

Description : Differentiate between (i) Harvard and Von-neuman architecture (ii) Microprocessor and Microcontroller

Last Answer : i) Harvard Architecture and Von-neuman architecture ii) Microprocessor and Microcontroller

Description : Explain the various selection factors of microcontroller suitable for application.

Last Answer : The selection of microcontroller depends upon the type of application. The following factors must be considered while selecting the microcontroller.  1. Word length: The word length of ... and for lesser production EPROM version or CPU version with external program memory is suitable

Description : Draw the format of PSW register of 8051 microcontroller and explain the function of each bit.

Last Answer : 1. CY: Carry flag. This flag is set whenever there is a carry out from the D7 bit after an 8 bit addition or subtraction. It can also be set to 1 or 0 directly by instructions such as SETB C and ... the A register contains an odd number of 1s, then P=1. P=0 if A has an even number of 1s.

Description : Draw and explain Internal port structure of Port 0 and Port 1 of 8051 microcontroller.

Last Answer : Port-0 can be configured as a normal bidirectional I/O port or it can be used for address/data interfacing for accessing external memory. When control is '1', the port is used for address/data ... is not able to sink the current the pin voltage may rise, leading to a possible wrong reading.

Description : Explain with sketch the interfacing of 4 ×4 matrix keypad with 8051 microcontroller.

Last Answer : Interfacing keypad Fig. shows how to interface the 4 X 4 matrix keypad to two ports in microcontroller. The rows are connected to an output port and the columns are connected to an input port. To ... key has been pressed, the next task is to find out which column the pressed key belongs to.

Description : Which of the following are the principles tasks of the linker? I. Resolve external references among separately compiled program units. II. Translate assembly language to machine code. III. Relocate code and data relative to the beginning of ... (A) I and II (B) I and III (C) II and III (D) I and IV

Last Answer : (B) I and III

Description : State any four important features of 8051 microcontroller.

Last Answer : Features of 8051 microcontroller:  1) 8- bit data bus and 8- bit ALU. 2) 16- bit address bus - can access maximum 64KB of RAM and ROM. 3) On- chip RAM -128 bytes (Data ... 0 and Timer 1, two external hardware interrupts- INT0 and INT1, Serial communication interrupt for both receive and transmit.

Description : By whom address of external function in the assembly source file supplied by __ when activated: a. Assembler b. Linker c. Machine d. Code

Last Answer : b. Linker

Description : Define the term BUS related to microprocessor/controller and list different buses used in microcontroller.

Last Answer : BUS: A Bus is a set of physical connections used for communication between CPU and peripherals. Different buses used in microcontroller are: 1. Address Bus 2. Data Bus 3. Control Bus

Description : Describe 8051 microcontroller as boolean processor.

Last Answer : * 8051 processor is a CPU that can perform some operation on a data and gives the output. * The 8051 processor contains a complete Boolean processor for single-bit operations. * The internal RAM contains 128 ... CLR C means clear the carry bit SETB 20h means set the memory bit with bit address 20h.

Description : List specifications of 8051 microcontroller.

Last Answer : 1) 8- bit data bus and 8- bit ALU. 2) 16- bit address bus - can access maximum 64KB of RAM and ROM. 3) On- chip RAM -128 bytes (Data Memory) 4) On- chip ROM - 4 KB ( ... 0592 MHz 9) Has power down and idle mode in microcontroller when no operation is performed. 10) Six interrupts are available.

Description : ________ error will show if we try to send text string instead of bytes. a) TypeError b) Error c) Linker error d) Compiler error

Last Answer : TypeError

Description : The ............... transfers the executable image of a C++ program from hard disk to main memory. (A) Compiler (B) Linker (C) Debugger (D) Loader

Last Answer : (D) Loader

Description : A linker is also known as: a. Binder b. Linkage editor c. Botha&b d. None of these

Last Answer : c. Botha&b

Description : converts high level language into machine language is (a) assembler (b) compiler (c) interpreter -Technology

Last Answer : (d) Both compiler and interpreter are language processors that converts high level language into machine language.

Description : What do you call the translator which takes assembly language program as input & produce machine language code as output? A) Compiler B) Interpreter C) Debugger D) Assembler

Last Answer : Answer : D

Description : The translator program used in assembly language is called A) Compiler B) Interpreter C) Assembler D) Translator

Last Answer : Answer : C

Description : A ________ is a special program that processes statements written in a particular programming language and turns them into machine language. A. Compiler B. Device Driver C. Assembler D. None of the above

Last Answer : A. Compiler

Description : Which analyses and executes the source code in line-by-line manner, without looking at the entire program? A. Compiler B. Interpreter C. Assembler D. None of the above

Last Answer : B. Interpreter

Description : Which of the following language is the closest to the machine code? A. Compiler B. Interpreter C. Assembler D. None of the above

Last Answer : C. Assembler

Description : Language Translators can be divided into three major categories.They are _________ A. Compiler, Operating System and Assembler B. Compiler, Device Driver and Assembler C. Compiler, Interpreter and System Utility D. Compiler, Interpreter and Assembler

Last Answer : D. Compiler, Interpreter and Assembler

Description : The translator program used in assembly language is called a. Compiler b. Interpreter c. Assembler d. Translator

Last Answer : Assembler

Description : The translator program that converts source code in high level language into machine code line by line is called - 1) Assembler 2) Compiler 3) Loader 4) Interpreter

Last Answer : 4) Interpreter

Description : Select the odd one out - 1) Interpreter 2) Operating System 3) Compiler 4) Assembler

Last Answer : 2) Operating System

Description : The translator program used in assembly language is called a. Compiler b. Interpreter c. Assembler d. Translator

Last Answer : c. Assembler

Description : Raspbian is: a) Assembler b) Language c) Compiler d)OS

Last Answer : d)OS

Description : High level programming language can be converted to machine language using which of the following? (A) Oracle (B) Compiler (C) Mat lab (D) Assembler

Last Answer : (B) Compiler

Description : _____ is required to boot a computer. (1) Loader (2) Operating system (3) Assembler (4) Compiler

Last Answer : Operating system

Description : Which one of the following converts assembly language into machine language ? (1) Algorithm (2) Interpreter (3) Compiler (4) Assembler

Last Answer : Assembler

Description :  ________ is a program that places programs into memory and prepares them for execution. (1) Assembler (2) Compiler (3) Loader (4) Macro processor

Last Answer : Loader

Description : Explain function of following pins of 8051 (i) Pin 31 (ii) Pin 29 (iii) Pin 21-28 

Last Answer : i) Pin 31-EA : It is and active low I/P to 8051 microcontroller. When (EA)= 0, then 8051 microcontroller access from external program memory (ROM) only. When (EA) = 1, then it access internal ... /Output, when external memory is interfaced, PORT 2 pins act as the higher-order address bus. (A8-A15)

Description : Explain the use of following tools in carrying out electrical wiring installation: (i) Nose pliers (ii) Test lamps (iii) Crimping tools (iv) Cutter. 

Last Answer : (i) Nose pliers : To hold and tight the wires (ii) Test lamps: Verification of voltage & current in the system and also check the open circuit (iii) Crimping tools: for crimping of the lugs for wires and cables (iv) Cutter: To cut the wire and remove the insulation 

Description : Tripura State Planning Board was set up in (i) 1972 (ii) 1971 (iii) 1978 (iv) 1985

Last Answer : (iii) 1978

Description : Match the following: List-I List-II A. Varanasi I. Indian Rare Earths Ltd B. Koyali II. Hindustan Machine Tools Ltd C. Pinjore III. Diesel Locomotive Works D. Alwaye IV. Petro-Chemical Complex Codes: A B C D (a) I II III IV (b) IV III II I (c) III IV II I (d) III IV I II

Last Answer : Ans: (c)

Description : Defects discovered by static analysis tools include: i. Variables that are never used. ii. Security vulnerabilities. iii. Programming Standard Violations iv. Uncalled functions and procedures a) i , ii,iii,iv is correct b ... ,iv are incorrect. c) i ,ii, iii and iv are incorrect d) iv, ii is correct

Last Answer : a) i , ii,iii,iv is correct

Description : Which of the following is a requirement of an effective software environment? I. Ease of use II. Capacity for incremental implementation III. Capability of evolving with the needs of a project IV. Inclusion of advanced tools A.I, II &III B.I, II &IV C.II, III&IV D.I, III&IV

Last Answer : A.I, II &III

Description : Which of the following are tools of management accounting? (i) Decision accounting (ii) Standard costing (iii) Budgetary control (iv) Human Resources Accounting A. (i), (ii) and (iii) B. (i), (iii) and (iv) C. (i),(ii) and (iii) D. (i), (ii), (iii), (iv)

Last Answer : C. (i),(ii) and (iii)

Description : Define following terms: i) Economic span ii) Afflux iii) Waterway iv) Free board

Last Answer : i) Economic span: The span for which the total cost of the bridge is minimum is known as economical span of a bridge. ii) Afflux: It is the rise in water surface caused due to the obstruction ... , if any, and the lowest point on the underside of the bridge super structure is called free board.

Description : Which of the following statement(s) regarding a linker software is/are true? I. A function of a linker is to combine several object modules into a single load module. II. A function of a linker is to replace absolute ... modules. (1) Only I (2) Only II (3) Both I and II (4) Neither I nor Il

Last Answer : Answer: 1

Description : Explain following instructions of 8051. (i) ADDC (ii) L CALL

Last Answer : (i) ADDC: The ADDC instruction adds a byte value and the value of the carry flag to the accumulator. The results of the addition are stored back in the accumulator. Several of the flag ... . Then the program counter is loaded with the new address and control is transferred to the subroutine. 

Description : Which of the following statements is true about a software verification and validation program? I. It strives to ensure that quality is built into software. II. It provides management with insights into the state ... software development activities. A. I, II&III B.II, III&IV C.I, II&IV D.I, III&IV

Last Answer : C.I, II&IV

Description : List out any two instructions of following addressing modes: (i) Immediate addressing. (ii) Register addressing.

Last Answer : (i) Immediate addressing instructions: 1. MOV A, #36H 2. MOV DPTR, #27A2H (ii) Register addressing. 1. MOV A, R0 2. MOV R7, A

Description : doesn’t need a linker to load it and is loaded _ a. Indirectly b. Directly c. Extending d. None of these

Last Answer : b. Directly

Description : Study the given figure below and answer the question that follow important-questions-for-class-12-biology-cbse-fertilisation-pregnancy-and-embryonic-development-t-33-3 (i)Name the stage of human embryo the ... implantation in the uterus. (iv)Where are the stem cells located in this embryo? -Biology

Last Answer : (i)The stage is blastocyst. (ii) A—Trophoblast. It helps in attachment to endometrium during implantation and provides nourishment to developing embryo. (iii) Inner cell mass acts as precursor to embryo ... into ectoderm and endoderm. (iv) Stem cells are located in inner cell mass of embryo.

Description : Which of the following are the main reasons for the origin of the south-west monsoon in India? 1. Development of a low pressure in north-west India 2. Deflection of trade winds 3. Arrival of cyclonic stream from the Pacific Ocean ... (a) I, II and III (b) I and II (c) II and III (d) III and IV

Last Answer : Ans: (b)

Description : National Development Council (NDC) was set up in – (i) 1952 (ii) 1950 (iii) 1949 (iv) 1948

Last Answer : (i) 1952

Description : The aims of research is/are (i) verification (ii) fact finding (iii) theoretical development (iv) All of the above

Last Answer : (iv) All of the above

Description : During which stage of pressure ulcer development does the ulcer extend into the underlying structures, including the muscle and possibly the bone? a) Stage IV A stage IV pressure ulcer ... area of nonblanchable erythema, tissue swelling, and congestion, and the patient complains of discomfort.

Last Answer : a) Stage IV A stage IV pressure ulcer extends into the underlying structure, including the muscle and possibly the bone.