Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

assembly on codewarrior program Assume there is a variable called VAR1 that has

ID: 3872803 • Letter: A

Question

assembly on codewarrior program

Assume there is a variable called VAR1 that has the value SDA (see code below) sing BSET, write code that sets bits 3 and S of VAR1. What is the value in HEX of VAR1 after e is executed? Now, using BCLR, write code that clear bits 1, 2, 4, and 7 of the new de (ie, the value resulting from BSET) of VAR1. What is the value in HEX of VAR1 after ? IMPORTANT: You must use index addressing mode for BSET and this code is executed BCLR. The LSB is bit 0 and the MSB is bit 7. r Variable/Data Section ". … ORGSDA FCB DATA VARI

Explanation / Answer

ANSWER::