Important Bits and Answers For CSC
Important Bits and Answers For CSC
- baapek 4/28/12
The OR gate can be converted to the NAND function by adding----gate(s)to the input of the OR gate. a) NOT b) AND c) NOR d) XOR
4/28/12
4/28/12
4/28/12
For 1MB memory, the number of address lines required There is a circuit using 3 nand gates with 2 inputes and 1 output,f ind the output.
.what is done for push operation a) SP is incremented and then the value is stored. b) PC is incremented and then the value is stored. c) PC is decremented and then the value is stored. d) SP is decremented and then the value is stored. 4/28/12
Memory allocation of variables declared in a program is -----a) Allocated in RAM b) Allocated in ROM c) Allocated in stack d) Assigned in registers.
4/28/12
purpose of PC (program counter)in a microprocessor is ---a) To store address of TOS(top of stack) b) To store address of next instructions to be executed c) count the number of instructions d) to store the base address of the stack. 4/28/12
In 8085 which is called as High order / Low order Register?Flag is called as Low order register & Accumulator is called as High order Register.
4/28/12
The Micro Processor enters into HaltState and the buses are tri-stated. Stack pointer is a special purpose 16bit register in the Microprocessor, which holds the address of the top of 4/28/12 the stack.
conditional results after execution of an instruction in a microprocess is stored in a) register b) accumulator c) flag register d) flag register part of PSW (program status word)
4/28/12
What are Hardware interrupts? - TRAP, RST7.5, RST6.5, RST5.5, INTR. Which interrupt has the highest priority?- TRAP has the highest priority. What is clock frequency for
4/28/12
A positive going pulse which is always generated when 8085 MPU begins the machine cycle. when a ----- instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers.
a) RD b) ALE c) WR d) HOLD
what is defined as one subdivision of the operation performed in one clock period.
4/28/12
At the end of the following code, what is the status of the flags.
The repeated execution of a loop of code while waiting for an event to occur is called ---------.The cpu is not engaged in any real productive activity during this period,and the process doesnt progress towards completion.
d) none.
microprocessor is ----
a) To store address of TOS(top of stack) b) To store address of next instructions to be executed c) count the number of instructions d) to store the base address of the stack.
4/28/12
conditional results after execution of an instruction in a microprocess is stored in register accumulator flag register flag register part of PSW (program status word)
a) b) c) d)
4/28/12
In 8085 MPU what will be the status of the flag after the execution of the following chunk of code.
which of the following instruction is used to load 2050h address toHL register pair? a.LOD H 2050H B.LOAD H 2050H C.LXIH 2050H D.LDAH 2050H
4/28/12
.what will be the value of the accumalator having AAH after executing RLC instruction twice? a.55h b.abh c.bah d.aah
4/28/12
List the branch related addressing mode: Intra segment Direct Intra segment Indirect Inter segment Direct Inter Segment Indirect
4/28/12
List the functions of Bus Interface Unit in 8086. Sends out addresses Fetches instructions from memory Reads data from ports and memory Writes data to port and memory
4/28/12
Write any two advantages of segment registers in 8086 a. It allows the memory capacity to be 1MB even though the address associated with individual instructions are 16 bits wide. b. It allows the instruction,data, or stack portion of a program to be more
4/28/12
Define Inter segment addressing mode: It replaces the contents of IP with part of the instruction and the contents of CS with another part of the instruction.
4/28/12
It translates a byte in AL using a table in memory. The offset address is calculated by adding the 8 bit contents of the AL register and the contents of BX register. BX register contains the starting offset address of the Lookup table. After execution , corresponding data memory contents of the lookup table
4/28/12
What is difference between DIV and IDIV instruction in 8086 ? DIV : It operates only on unsigned number. IDIV : It operates only on signed numbers.
4/28/12
What is the value of AL after executing the following instructions. MOV AL,35H ADD AL,49H DAA Ans : AL= 84
4/28/12
Define LAHF and SAHF instructions in 8086. LAHF : Load the 8085 equivalent flags into the AH register. SAHF: Store the AH register into the low order byte of the flag register.
4/28/12