Question: M, HJ CLO2: Develop and debug embedded system hardware and firmware a) Microprocessor Unit (MPU) includes Arithmetic Logic Unit (ALU), Registers, and Control Unit. Write
M, HJ CLO2: Develop and debug embedded system hardware and firmware a) Microprocessor Unit (MPU) includes Arithmetic Logic Unit (ALU), Registers, and Control Unit. Write three ways to access the data registers from the MPU. I (3 marks /4 mins) b) The PIC18 microcontroller designer divides the execution of most of the PIC18 instructions into two stages (instruction fetch and instruction execution). Use the following instructions to explain pipelining in PIC 18 microcontroller. (4 marks / 5 mins) 1 MAIN movlw 0x37 2 movwf. REGO 3 movlw 0x92 movwf REGI c) Write an assemble program that adds the three numbers stored in data registers at 0x20, 0x30, and 0x40 and places the sum in data register at 0x50. (3 marks / 6 mins)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
