String Operations

nswer the following questions:a. For each exercise below, assume that the data segment containsSource BYTE “brown”Dest BYTE “brine”1. Suppose that the following instructions are executed:lea esi, sourcelea edi, destcldmov ecx, 5repne cmpsbAssuming that 00417000 is the address loaded in ESI and 00417005 is loaded in EDI, what will be the values stored in ESI and EDI following the repne cmpsb instruction? What will be stored in ECX?2. Suppose that the following instructions are executed:mov al, ‘w’lea edi, destcldmov ecx, 5repe scasbAssuming that 00417005 is the address loaded in EDI, what will be the value stored in EDI following the repne scasb instruction? What will be stored in ECX?