ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Embedded Systems  >>  86 Family
 
 


 

 
 86 Family interview questions  86 Family Interview Questions
 VLSI interview questions  VLSI Interview Questions
 DSP interview questions  DSP Interview Questions
 Embedded Systems AllOther interview questions  Embedded Systems AllOther Interview Questions
Question
write an assembly code which can call function in a loop
with al value from 0 to 9
 Question Submitted By :: PK
I also faced this Question!!     Rank Answer Posted By  
 
  Re: write an assembly code which can call function in a loop with al value from 0 to 9
Answer
# 1
xor ax, ax
loop1:
        call foo
        inc al
        cmp ax, 10
        jb loop1
 
Is This Answer Correct ?    1 Yes 0 No
PK
 
  Re: write an assembly code which can call function in a loop with al value from 0 to 9
Answer
# 2
mov ro,#10h

here:
        acall fun
        inc   a1
        djnz  ro,here
 
Is This Answer Correct ?    3 Yes 4 No
Sivasyam
 
 
 
  Re: write an assembly code which can call function in a loop with al value from 0 to 9
Answer
# 3
org 00h
mov r0,#09
mov r1,#01
loop : acall func;    ; calling function in loop 9-0 times
       djnz r0,loop


func : inc r1 ; output will be in r1 register
       ret

end


if any thing plz mail to me laxman_balu@hotmail.com
 
Is This Answer Correct ?    2 Yes 0 No
Laxman
 

 
 
 
Other 86 Family Interview Questions
 
  Question Asked @ Answers
 
What is a program counter? What is its use?  3
In a processor these are 120 instructions . Bits needed to impliment this instructions [a] 6 [b] 7 [c] 10 [d] none Wipro1
Which line will be activated when an output device require attention from CPU?  1
What is the difference between MOV and MVI?  8
Why are program counter and stack pointer 16-bit registers? HCL1
What does it mean by embedded system?  7
Difference between 80286 and 80287 Mascot2
Give a circuit to divide frequency of clock cycle by two ?  3
What are tri-state devices and why they are essential in a bus oriented system? Keane-India-Ltd1
What is the function of accumulator?  2
What is PSW? DRDO5
What are the different addressing modes in 8085? Syntel14
7. What are tri-state devices and why they are essential in a bus oriented system? Wipro3
How do you detect a sequence of "1101" arriving serially from a signal line?  2
Which type of architecture 8085 has? Sasken4
What are the functions of RIM, SIM, IN?  5
8085 is how many bit microprocessor?  11
What happens during DMA transfer?  5
Why is data bus bi-directional? Wipro2
How many memory locations can be addressed by a microprocessor with 14 address lines?  3
 
For more 86 Family Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com