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 |
Explain what kind of negative feedback is present in a noninverting op-amp.
what is protocol exactly called ? when some body ask which protocol u r using example:siemens pg pc interface
Explain why does all cellular networks have same shape of sim?
Explain what is an adder or summing amplifier?
why the value of 3db down point is 0.707??
Functional difference between IGBT and SCR
What is scope in rfid?
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.....
How emergency call get through without coverage but not other call at that time?
Explain what is an asic?
Explain "VAR_INPUT" when defining a Function Block??
why we use chopper circuit in TV ?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)