1. Explain an Intermediate language?
Assemblies are made up of IL code modules and the metadata that describes them. Although programs may be compiled via an IDE or the command line, in fact, they are simply translated into IL, not machine code. The actual machine code is not generated until the function that requires it is called.
2. What are the Types of Assemblies?
Assemblies are of two types:
1. Private Assemblies
2. Shared Assemblies
3. What are assembly Attributes?
Attributes are declarative tags in code that insert additional metadata into an assembly
4. What are kinds of processors?
Processors can broadly be divided into the categories of: CISC, RISC, hybrid, and special purpose.
5. What is data movement?
Data movement instructions move data from one location to another. The source and destination locations are determined by the addressing modes, and can be registers or memory. Some processors have different instructions for loading registers and storing to memory, while other processors have a single instruction with flexible addressing modes.
6. What is assembly condition codes?
Condition codes are the list of possible conditions that can be tested during conditional instructions. Typical conditional instructions include: conditional branches, conditional jumps, and conditional subroutine calls. Some processors have a few additional data related conditional instructions, and some processors make every instruction conditional. Not all condition codes available for a processor will be implemented for every conditional instruction.
7. Explain some assembly controls?
1.BRA Branch; Motorola 680×0, Motorola 68300; short (16 bit) unconditional branch relative to the current program counter
2.JMP Jump; Motorola 680×0, Motorola 68300; unconditional jump (any valid effective addressing mode other than data register)
3.JMP Jump; Intel 80×86; unconditional jump (near [relative displacement from PC] or far; direct or indirect [based on contents of general purpose register, memory location, or indexed])
4.JMP Jump; MIX; unconditional jump to location M; J-register loaded with the address of the instruction which would have been next if the jump had not been taken
5.JSJ Jump, Save J-register; MIX; unconditional jump to location M; J-register unchanged
6.Jcc Jump Conditionally; Intel 80×86; conditional jump (near [relative displacement from PC] or far; direct or indirect [based on contents of general purpose register, memory location, or indexed]) based on a tested condition: JA/JNBE, JAE/JNB, JB/JNAE, JBE/JNA, JC, JE/JZ, JNC, JNE/JNZ, JNP/JPO, JP/JPE, JG/JNLE, JGE/JNL, JL/JNGE, JLE/JNG, JNO, JNS, JO, JS
7.Bcc Branch Conditionally; Motorola 680×0, Motorola 68300; short (16 bit) conditional branch relative to the current program counter based on a tested condition: BCC, BCS, BEQ, BGE, BGT, BHI, BLE, BLS, BLT, BMI, BNE, BPL, BVC, BVS
8.JOV Jump on Overflow; MIX; conditional jump to location M if overflow toggle is on; if jump occurs, J-register loaded with the address of the instruction which would have been next if the jump had not been taken
8. Assembly language programs are written using
A) Hex code
B) Mnenonics
C) ASCII code
D) None of these View
ANS: B
9. For execution of an interrupt applied at INTR, number of states required by 8085 Microprocessor are
A) 4
B) 6
C) 12
D) 18
ANS: C
10. In 8085 which is/are the 16 bit registers?
A) Program Counter
B) Stack Pointer
C) Both A) & B)
D) None of the above
ANS: C
11. How many memory locations are required to store the instruction LXIH, 0800H in an 8085 assembly language program?
A) 1
B) 2
C) 3
D) 4
ANS: B
12. The instruction DEC N inform the assembler to
A) Decrement the content of N
B) Decrement the data addressed by N
C) Convert signed decimal number to binary
D) None of the above
ANS: A
13. In 8085 microprocessor, the value of the most significant bit of the result following the execution of any arithmetic or Boolean instruction is stored in the
A) carry status flag
B) auxiliary carry status flag
C) sign status flag
D) zero status flag
ANS: C
14. Instructions performing actions in assembly language are called
A) imperative statements
B) declarative statements
C) directive statements
D) none of the above
ANS: A
15. What is the content of Stack Pointer ?
A) Address of the current instruction
B) Address of the next instruction
C) Address of the top element of the stack
D) None of the above
ANS: C
16. Which of the following interrupt has highest Priority?
A) INTR
B) TRAP
C) RST 7.5
D) RST 6.5
ANS: B
17. Number of machine cycles required for RET instruction in 8085 microprocessor is
A) 1
B) 2
C) 3
D) 5
ANS: C