1 Explain Operation Following Codes Output Code Main Movlw 1 Movwf Loc Ltop Include P18f24 Q37122870

1. Explain, which is the operation of following codes? which is the output of the code? main movlw 1 movwf loc Ltop INCLUDE1. Explain, which is the operation of following codes? which is the output of the code? main movlw 1 movwf loc Ltop INCLUDE “P18F242.INC” btfsc loc,o goto loc_1sb_is_1 movlw 4 movwf out movlw 2 movwf out movlw 3 movwf out CBLOCK 0x000 ENDC org goto main org 0x200 loc 1sb is 1 main movlw 1 movwf out movlw 6 movwf out movlw 5 movwf out movlw 8 movwf out goto Ltop movf i,f btfss STATUS,Z

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.