Explain with an example how parameters can be passed using registers.



Explain with an example how parameters can be passed using registers...

Answer / Rashmi

Parameters can be passed to a subroutine using registers in 8085 Assembly Language. Here's an example:nn; Main ProgramnMOV B, A ; Save the first parameter in BnCALL SUBROUTINE ; Call the subroutine with parameter Bnn; SubroutinenSUBROUTINE: ... ; Perform operations using parameter in B

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More 86 Family Interview Questions

Are all the bits of flag register used in 8051?

1 Answers  


List out the features of 8051 microcontroller?

1 Answers  


How to detect a sequence of "1101" arriving serially from a signal line?

1 Answers  


What is the significance of the control unit in the 8085?

1 Answers  


Explain the differences between the nmi and intr

1 Answers  


What are different adder circuits you studied?

1 Answers  


What is flag, bus?

8 Answers  


Classify interrupts on the basis of signals. State their differences.

1 Answers  


How many i/o ports can 8085 access?

1 Answers  


Why the temporary registers w and z are named so I mean we start from a,b,c,d,e then h and l coz h stands for higher bit nd l for lower bit of the address pinted by memory pointer....but wats w and z for?

1 Answers  


What is 8051 microcontroller ?

1 Answers  


What are the different type of registers used in 8085?

1 Answers  


Categories