adspace
write a program that changes 74H to 47H in 8085 assembly
programming
Answer Posted / 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 View All Answers
i completed my b.tech.i want to prepare for civils. when new batch classes will start at rc reddy. plz mail me rajesh.mc28@gmail.com
wbsedcl job in kolkata
hello sir, could u plz send me a sample placement paper for hpcl trainee engg exam..(electrical stream)...hoping to hear from u at the earliest
an anyone help me out to get hpcl officer's trainee paper's pattern....nithinjyothy@gmail.com
I want previous rrb enteranse exam papers in section engineer. please send that papers to my id rohit_nist@yahoo.co.in
plz send me previous question paper of RRB section Engineer- Electronics ,erpdayal@gmail.com
I am a fresher and i have done testing course from orbit institute hyd.can any1 say me whether it is necessary to do project in testing.if it is that which is best institute in hyd.can you please inform me if there is any job 4 freshers.thanxs
pls. send me 10 years modle papers for the post of section engg. (E&C) in rrb ajmer, at my mail id i.e. praveen.yugal@gmail.com.
i want computer associates placement papers from u? pls post to me.
hi...i had completed B.E.in Electronics & Communication.i had applied Section Engineer in railway recruit ment 2012.I need previous year exam papers.
i am electronics & telecomm engg & appling 4 the AAI jr executive (electronics/ATC) written test. pls forward me the syllabus & old question papers.I will be very much thankful to you. NAZEEHA E.MAIL ID:- km.nazi.km@gmail.com
please send me rrb gorakhpur je teli question paper
Dear concern Plz provide me the solved papers of Railway section engineer in signal...
i am a student i need the technical questions ased in wipro
Please send BSNL TTA Question Answer