Question: 10: H_byte equ Ox06 11: L_byte equ Ox05 12: ORG Ox0000 13: Main: clrf H_byte, A clrf L_byte, A movlw Ox99 addlw Ox77 17: daw

10: H_byte equ Ox06 11: L_byte equ Ox05 12: ORG Ox0000 13: Main: clrf H_byte, A clrf L_byte, A movlw Ox99 addlw Ox77 17: daw bnc N_1 19: incf H_byte, F, A 20: N_1: addiw 0X19 21: daw 22: bnc Over 23: incf H_byte, F, A 24: Over: movwf L_byte, A Answer the following questions based on the program above. When asked the value inside a register your answer should be in the following form: OxNN, where N is a nibble. What is the value stored in the WREG after the execution of Line 16 and 17? WREG after Line 16: WREG after Line 17: What are the values stored in the WREG and file register 006 after the execution of Line 20 WREG after Line 20 006 after Line 20: What is the value stored in the WREG after the execution of Line 21? WREG after Line 21: What are the values stored in the file registers 005 and 006 after the execution of Line 242 005 after Line 24: 006 after Line 24: 10: H_byte equ Ox06 11: L_byte equ Ox05 12: ORG Ox0000 13: Main: clrf H_byte, A clrf L_byte, A movlw Ox99 addlw Ox77 17: daw bnc N_1 19: incf H_byte, F, A 20: N_1: addiw 0X19 21: daw 22: bnc Over 23: incf H_byte, F, A 24: Over: movwf L_byte, A Answer the following questions based on the program above. When asked the value inside a register your answer should be in the following form: OxNN, where N is a nibble. What is the value stored in the WREG after the execution of Line 16 and 17? WREG after Line 16: WREG after Line 17: What are the values stored in the WREG and file register 006 after the execution of Line 20 WREG after Line 20 006 after Line 20: What is the value stored in the WREG after the execution of Line 21? WREG after Line 21: What are the values stored in the file registers 005 and 006 after the execution of Line 242 005 after Line 24: 006 after Line 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
