write a program that changes 74H to 47H in 8085 assembly
programming



write a program that changes 74H to 47H in 8085 assembly programming..

Answer / Jitendra Kumar Paswan

In 8085 assembly, you can't directly change data values like 74H to 47H. However, you can write a program to perform such an operation by using a subroutine that compares the current value with the desired value (74H) and updates it if necessary. Here is a simple example of how you could do this:

MOV A, H ; Load the current value into Accumulator A
CMP A, 74 ; Compare Accumulator A with 74H
JZ CHANGE ; If equal (Z flag set), jump to 'CHANGE' label

; Rest of your program here...

CHANGE: ; This is the label where we change the value
MOV H, 47 ; Load 47H into Higher Half Accumulator

; Continue with rest of your program...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Electronics Communications Interview Questions

Explain what kind of negative feedback is present in a noninverting op-amp.

1 Answers  


what is protocol exactly called ? when some body ask which protocol u r using example:siemens pg pc interface

1 Answers  


Explain why does all cellular networks have same shape of sim?

1 Answers  


Explain what is an adder or summing amplifier?

1 Answers  


why the value of 3db down point is 0.707??

2 Answers  


Functional difference between IGBT and SCR

7 Answers   Siemens,


What is scope in rfid?

1 Answers  


I have Completed my diploma in Electronics in year 2009.I got low score in TOEFL.SO what should i do to get the visa...I am confident that I will get the visa..But probable chances for getting visa....and i also got I20 and paid Visa interview fees.....

1 Answers   Halonix,


How emergency call get through without coverage but not other call at that time?

1 Answers   Airtel, Intel,


Explain what is an asic?

1 Answers  


Explain "VAR_INPUT" when defining a Function Block??

1 Answers  


why we use chopper circuit in TV ?

1 Answers   LG, NTDC,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)