Question: Given that w=2, reg2=23,then after executing the following program segment, what will the values in W, reg2(values are in decimal) movlw 21 addwf reg2,1 subwf

 Given that w=2, reg2=23,then after executing the following program segment, what

Given that w=2, reg2=23,then after executing the following program segment, what will the values in W, reg2(values are in decimal) movlw 21 addwf reg2,1 subwf reg2,0 sublw 02 movwf reg2 O a. W= 19 reg2= 19 b. W= -21 reg2= -21 O = c. W= -1 reg2= -1 d. W= 19 reg2= 23

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!