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   To Refer this Site to Your Friends   Click Here
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 ?    0 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 ?    1 Yes 0 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 ?    0 Yes 0 No
Laxman
 

 
 
 
Other 86 Family Interview Questions
 
  Question Asked @ Answers
 
What happens during DMA transfer?  3
What is an interrupt?  4
What is flag, bus?  3
How do you detect a sequence of "1101" arriving serially from a signal line?  2
Which type of architecture 8085 has? Sasken1
write an assembly code which can call function in a loop with al value from 0 to 9 Google3
In a processor these are 120 instructions . Bits needed to impliment this instructions [a] 6 [b] 7 [c] 10 [d] none Wipro1
8085 is how many bit microprocessor?  4
Which line will be activated when an output device require attention from CPU?  1
Explain RC circuit?s charging and discharging? Epsilon3
In 8085 microprocessor READY signal does.which of the following is incorrect statements [a]It is input to the microprocessor [b] It sequences the instructions Wipro1
Difference between 80286 and 80287 Mascot1
What are the different flags in 8085? TCS3
What are the functions of RIM, SIM, IN?  2
Why are program counter and stack pointer 16-bit registers?  1
What are the different addressing modes in 8085? Syntel4
What do you mean by wait state? What is its need?  2
What is a program counter? What is its use?  2
What is the difference detween ISR & function call Bosch7
What is the immediate addressing mode?  2
 
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