Question: 3. Consider the following HCS12 Assembly Language code: CON EQU $10 DATA1 FCB$80 DATA2 FCB$50 ORG $0080 ; data declared here ORG $CO00 LDAADATA1 ;
3. Consider the following HCS12 Assembly Language code: CON EQU $10 DATA1 FCB$80 DATA2 FCB$50 ORG $0080 ; data declared here ORG $CO00 LDAADATA1 ; instructions start here SUBA DATA2 SUBA #CON a. Where are the bytes of data DATA1 and DATA2 located in memory? b What is the memory address of the first instruction? c. Does DATA1 have an initial value? If so, what is it? d. What is the significance of the # in front of CON in the third instruction? been executed? lines? e. What is in register A after the three instructions have f. What is the significance of the semicolon (G) in some
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
