ORG 0000h ; Start of program MOVLW 0x0A ; Load the value 0x0A into WREG MOVWF 0x20 ; Move the value from WREG to register 0x20 GOTO $ ; Infinite loop to stop the program
Standard input is empty
ORG 0000h ; Start of program MOVLW 0x0A ; Load the value 0x0A into WREG MOVWF 0x20 ; Move the value from WREG to register 0x20 GOTO $ ; Infinite loop to stop the program END