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 |
Are all the bits of flag register used in 8051?
List out the features of 8051 microcontroller?
How to detect a sequence of "1101" arriving serially from a signal line?
What is the significance of the control unit in the 8085?
Explain the differences between the nmi and intr
What are different adder circuits you studied?
What is flag, bus?
Classify interrupts on the basis of signals. State their differences.
How many i/o ports can 8085 access?
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?
What is 8051 microcontroller ?
What are the different type of registers used in 8085?